import type { DataAdapter } from '../plugins/types.js'; import type { ExternalFieldConfig } from './types.js'; import type { TranslatedFilter } from '../model-api/filter-translator.js'; import type { AdapterCapability } from '../plugins/types.js'; export interface ExternalQueryOptions { adapter: DataAdapter; modelName: string; fields: Record; capabilities: AdapterCapability[]; } export interface ExternalQueryState { filters: TranslatedFilter[]; sorts: Array<{ field: string; direction: 'asc' | 'desc'; }>; limitVal?: number; offsetVal?: number; pageVal?: number; fieldNames: string[]; } export declare class ExternalQueryExecutor { private readonly adapter; private readonly modelName; private readonly fields; private readonly capabilities; constructor(options: ExternalQueryOptions); execGet(id: string): Promise | null>; execList(state: ExternalQueryState): Promise<{ data: Record[]; total?: number; hasMore?: boolean; }>; execCount(state: ExternalQueryState): Promise; private transformRecord; } //# sourceMappingURL=query-executor.d.ts.map