import type { HybridObject } from 'react-native-nitro-modules'; export interface SaveRecordParams { recordType: string; recordID: string; data: string; meta: string; } export interface FetchRecordParams { recordType: string; recordID: string; } export interface DeleteRecordParams { recordType: string; recordID: string; } export interface RecordExistsParams { recordType: string; recordID: string; } export interface QueryRecordsParams { recordType: string; } export interface AccountInfoResult { status: number; statusName: string; containerUserId?: string; } export interface SaveRecordResult { recordID: string; createdAt: number; } export interface RecordResult { recordID: string; recordType: string; data: string; meta: string; createdAt: number; modifiedAt: number; } export interface QueryRecordsResult { records: RecordResult[]; } export interface CloudKitModule extends HybridObject<{ ios: 'swift'; android: 'kotlin'; }> { isAvailable(): Promise; getAccountInfo(): Promise; saveRecord(params: SaveRecordParams): Promise; fetchRecord(params: FetchRecordParams): Promise; deleteRecord(params: DeleteRecordParams): Promise; recordExists(params: RecordExistsParams): Promise; queryRecords(params: QueryRecordsParams): Promise; } //# sourceMappingURL=CloudKitModule.nitro.d.ts.map