import type { PodTable } from './schema'; type ExactRecordTarget = string | Record | null | undefined; type ExactRecordResolvedTarget = string | Record; type ExactPodTable = PodTable; export type ExactRecordDatabase = { findByResource?: (resource: TResource, target: ExactRecordResolvedTarget) => Promise; updateByResource?: (resource: TResource, target: ExactRecordResolvedTarget, data: any) => Promise; deleteByResource?: (resource: TResource, target: ExactRecordResolvedTarget) => Promise; insert?: (resource: TResource) => { values(value: any): { execute(): Promise; }; }; }; export declare function findExactRecord(db: ExactRecordDatabase, resource: ExactPodTable, target: ExactRecordTarget): Promise; export declare function updateExactRecord(db: ExactRecordDatabase, resource: ExactPodTable, target: ExactRecordTarget, updates: Record): Promise; export declare function upsertExactRecord(db: ExactRecordDatabase, resource: ExactPodTable, target: ExactRecordTarget, row: Record, updates: Record): Promise<'inserted' | 'updated'>; export declare function insertExactRecordOnce(db: ExactRecordDatabase, resource: ExactPodTable, target: ExactRecordTarget, row: Record): Promise; export declare function deleteExactRecord(db: ExactRecordDatabase, resource: ExactPodTable, target: ExactRecordTarget): Promise; export {}; //# sourceMappingURL=exact-records.d.ts.map