export declare class SyncApiError extends Error { readonly code: string; constructor(message: string, code: string); } interface PushBlob { proposed_id: string; data: string; device_id: string; updated_at: string; } interface PushRequest { file_id: string; idempotency_key: string; blobs: PushBlob[]; } interface PushResponse { mappings: { proposed_id: string; final_id: number; }[]; } interface PullBlob { id: number; client_proposed_id?: string; data: string; deleted_at?: string | null; updated_at: string; } interface PullResponse { blobs: PullBlob[]; server_time: string; salt?: string; } export interface HmemFile { id: string; salt?: string; } export declare class HmemSyncClient { private baseUrl; private apiKey; constructor(baseUrl: string, apiKey: string); private request; health(): Promise; listFiles(): Promise; createFile(id: string, salt: string): Promise; push(req: PushRequest): Promise; pull(fileId: string, since?: string): Promise; } export {};