export interface PrototypeSafetyOptions { /** Require the run to happen from a linked git worktree instead of the primary checkout. Default true. */ worktreeRequired?: boolean; /** Permit the primary/shared checkout even when worktreeRequired is true. Default false. */ allowSharedCheckout?: boolean; /** Require a clean worktree before prototype execution. Default true. */ requireClean?: boolean; /** Permit existing dirty files even when requireClean is true. Default false. */ allowDirty?: boolean; } export interface PrototypeSafetyResult { ok: boolean; cwd: string; gitRoot?: string; primaryWorktree?: string; isLinkedWorktree?: boolean; dirtyPaths: string[]; reason: string; nextAction: string; } export declare function checkPrototypeWorktreeSafety(cwd: string, options?: PrototypeSafetyOptions): Promise;