export type SyncedImage = { id: string; /** POSIX-style path relative to the sync directory (e.g. "media/foo.png"). */ localPath: string; url: string; filename: string; }; export type SyncState = { syncedImages: Record; }; /** Resolves a synced image's stored (directory-relative) path to an absolute one. */ export declare function resolveSyncedImagePath(directory: string, image: SyncedImage): string; export declare function readSyncState(directory: string): Promise; export declare function writeSyncState(directory: string, state: SyncState): Promise;