import type { CometWorkflow } from './types.js'; export declare const COMET_CURRENT_SELECTION_SCHEMA: "comet.selection.v2"; export declare const COMET_CURRENT_SELECTION_MAX_BYTES: number; export interface CometCurrentSelection { schema: typeof COMET_CURRENT_SELECTION_SCHEMA; workflow: CometWorkflow; change: string; branch: string | null; } export interface LegacyClassicSelection { version: 1; change: string; branch: string | null; } export type CometCurrentSelectionRead = { status: 'missing'; } | { status: 'selected'; selection: CometCurrentSelection; legacy: boolean; }; export declare function cometCurrentSelectionFile(projectRoot: string): string; export declare function readCometCurrentSelection(projectRoot: string): Promise; export declare function writeCometCurrentSelection(projectRoot: string, selection: CometCurrentSelection): Promise; export declare function migrateLegacyClassicSelection(projectRoot: string): Promise; export declare function clearCometCurrentSelection(projectRoot: string): Promise; export declare function clearCometCurrentSelectionIf(projectRoot: string, workflow: CometWorkflow, change: string): Promise; //# sourceMappingURL=current-selection.d.ts.map