asposewordscloud
Version:
Aspose.Words Cloud SDK for Node.js
33 lines (32 loc) • 1.19 kB
TypeScript
import { AttributeInfo } from '../internal/attributeInfo';
import { SearchResultsCollection } from './searchResultsCollection';
import { WordsResponse } from './wordsResponse';
export declare const importsMapSearchResponse: {
SearchResultsCollection: typeof SearchResultsCollection;
WordsResponse: typeof WordsResponse;
};
/**
* The REST response with a regular expression pattern and a collection of search results.
* This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/search" REST API requests.
*/
export declare class SearchResponse extends WordsResponse {
/**
* Attribute type map
*/
static attributeTypeMap: Array<AttributeInfo>;
/**
* Returns attribute type map
*/
static getAttributeTypeMap(): AttributeInfo[];
/**
* Gets or sets the regular expression pattern used to find matches.
*/
searchingPattern: string;
/**
* Gets or sets the collection of search results.
*/
searchResults: SearchResultsCollection;
constructor(init?: Partial<SearchResponse>);
collectFilesContent(_resultFilesContent: Array<any>): void;
validate(): void;
}