import type { NoteSelector } from "../hackmd/client.js"; export interface GitHubSyncState { key: string; repository: string; filePath: string; initialBranch: string; activeBranch: string; baseBranch: string; includeTitleTags?: boolean; sourceBranch?: string; sourceSha?: string; pullRequestNumber?: number; pullRequestUrl?: string; updatedAt?: string; } export interface GitHubSyncStateStore { get(key: string): Promise; set(state: GitHubSyncState): Promise; } export declare class FileGitHubSyncStateStore implements GitHubSyncStateStore { private readonly path; constructor(path?: string); get(key: string): Promise; set(state: GitHubSyncState): Promise; private readStates; } export declare function makeSyncStateKey(selector: NoteSelector): string; export declare function defaultGitHubSyncStatePath(env?: NodeJS.ProcessEnv): string; //# sourceMappingURL=sync-state.d.ts.map