import type { SerializableRecord } from '../backend-contract/primitives.js'; import type { NormalizedScanQuery } from '../backend-contract/scan-query.js'; import type { ScanPlan } from '../backend-contract/scan-planning.js'; /** * The normalized query contains optional fields whose `undefined` values are * intentionally omitted by JSON. IPC snapshots do not carry `undefined`, so * this wire projection uses `null` for those optional values and reconstructs * the canonical normalized query in main. */ export declare function encodeIpcScanQuery(query: NormalizedScanQuery): SerializableRecord; export declare function encodeIpcScanPlan(plan: ScanPlan): SerializableRecord; /** Decodes and re-normalizes the main-owned query before planning or scanning. */ export declare function decodeIpcScanQuery(value: unknown, operation?: string): NormalizedScanQuery; //# sourceMappingURL=scan-planning.d.ts.map