import type { SchemaSnapshot } from "../types.js"; /** * Runner contract: takes a SQL command string and returns wrangler's raw * JSON envelope stdout. The CLI wires this to a real exec; tests pass a mock. * The runner is responsible for ALL transport concerns (local vs remote, * config path, error mapping). introspectD1 only knows about SQL queries. */ export type D1Runner = (sql: string) => Promise; export interface IntrospectD1Options { runner: D1Runner; /** * Documented passthrough — the CLI wiring uses binding/remote/configPath to * construct the runner; introspectD1 itself only dispatches SQL via opts.runner. * They live on the options so the wiring contract is self-documenting at the call site. */ binding: string; remote: boolean; configPath: string | undefined; } export declare function introspectD1(opts: IntrospectD1Options): Promise; //# sourceMappingURL=d1.d.ts.map