import type { QueryResult } from './types.js'; export type SqlExecutorFn = (sql: string) => Promise | unknown; export declare function registerSqlExecutor(name: string, execute: SqlExecutorFn): void; export declare function lookupSqlExecutor(name: string): SqlExecutorFn | undefined; /** Test isolation. Production code does not need this. */ export declare function resetSqlExecutorsForTests(): void; export declare function assertLocalModuleSpec(spec: string): void; export declare function loadExecutorModule(spec: string): Promise; /** * Normalise whatever the operator returned. Their claimed `rowCount` is * ignored — a lying executor must not shrink the cap check. */ export declare function normalizeExecutorResult(raw: unknown): QueryResult; //# sourceMappingURL=sql-executor.d.ts.map