import type { SqlExpression } from 'druid-query-toolkit'; import { SqlTable } from 'druid-query-toolkit'; import type { SqlQueryPayload } from './host'; import { Host } from './host'; import type { HostStorePersistOptions, RegisteredVisualModule } from './host-store'; import type { ParameterDefinitions } from './parameter'; import type { ParametersToParams, VisualModule } from './visual-module'; interface UseHostOptions { sqlQuery: (payload: SqlQueryPayload) => Promise; table: SqlExpression; persist?: HostStorePersistOptions; visualModules: Record>; selectedModules: string[]; where?: string | SqlExpression; } export declare function useHost(options: UseHostOptions): { where: SqlExpression; having: SqlExpression | undefined; params: Record>; onUpdateParams: (params: Record, selectedModule: string) => void; visualModules: Record; table: SqlTable; host: Host; }; export {}; //# sourceMappingURL=use-host.d.ts.map