import { type FieldSet } from 'airtable'; import { type AirtableRecord, type AirtableTsTable, type CompleteAirtableTsOptions } from '../types'; import { type FromTsTypeString, type Item, type Table, type TsTypeString } from './typeUtils'; type ValidationContext = Pick & { warnings: unknown[]; }; export declare const mapRecordFromAirtable: (table: Table, record: AirtableRecord, options?: Pick) => T; export declare const mapRecordToAirtable: (table: Table, item: Partial, airtableTsTable: AirtableTsTable) => FieldSet; export declare const visibleForTesting: { mapRecordTypeAirtableToTs: >(table: Table, tsTypes: T, record: AirtableRecord, validationContext?: ValidationContext) => ({ [F in keyof T]: FromTsTypeString; } & { id: string; }); mapRecordTypeTsToAirtable: , R extends { [K in keyof T]?: FromTsTypeString; } & { id?: string; }>(table: Table, tsTypes: T, tsRecord: R, airtableTsTable: AirtableTsTable) => FieldSet; }; export {};