import { Extension, IServiceCall } from "@chaosinsight/portalclient"; import type { IPortalResponse } from "../index"; export default class EZSearch extends Extension { protected readonly extensionName = "EZSearch"; getGet(q?: string, filter?: string, sort?: string, tag?: string, facets?: string, between?: string, pageIndex?: number, pageSize?: number): IServiceCall>; } export interface ISearchResult { Identifier: string; TypeId: string; Fields: ISearchResultField[]; } export interface ISearchResultField { Key: string; Value: string; } declare module "@chaosinsight/portalclient" { interface ExtensionHandler { ezSearch: EZSearch; } }