export type RemoteTarget = { type: 'gist'; gistId?: string; }; export type SyncPushResult = { pushed: string[]; gistId: string; url: string; }; export type SyncPullResult = { pulled: string[]; conflicts: number; }; export declare const STATE_SUBDIR: string; export declare function pushToGist(stateDir: string, gistId: string | undefined, dryRun: boolean): Promise; export declare function pullFromGist(stateDir: string, gistId: string, dryRun: boolean): Promise;