import type { Diagnostic, IdeaReference, ReviewContext } from "./types.ts"; export declare const CHANGE_SAMPLE_ITEM_LIMIT = 12; export declare const CHANGE_SAMPLE_BYTE_LIMIT = 768; /** @pure */ interface ChangedPath { path: string; } interface WorktreeChanges { conflicted: ChangedPath[]; staged: ChangedPath[]; unstaged: ChangedPath[]; untracked: ChangedPath[]; } interface IdeaWorld { documentPath: string; path: string; } interface LifecycleIdea extends IdeaReference { statusPath: string; idealRevision: string; worlds: { idealRevision: IdeaWorld; implementationRevision: IdeaWorld; deploymentRevision: IdeaWorld; }; implementationRevision: string; deploymentRevision: string; ledgerPath: string; relativePath: string; } /** @pure */ export declare function ideaName(idea: Pick): string; /** @pure */ export declare function command(root: string, value: string): string; /** @pure */ export declare function joinInstructions(lines: Array): string; /** @pure */ export declare function formatInstructionSteps(steps: string[]): string[]; /** @pure */ export declare function projectInstructions(observed: { findings: { instruction: string; }[]; }, root: string, language: string, recheckCommand?: string): string; /** @pure */ export declare function phaseGuidanceInstructions(diagnostics: Array, root: string, language: string, recheckCommand: string): string; /** @pure */ export declare function sampleChanges(changes: WorktreeChanges): { counts: { conflicted: number; staged: number; unstaged: number; untracked: number; }; omitted: number; samples: string[]; }; /** @pure */ export declare function summarizeWorktreeChanges(changes: WorktreeChanges, language?: string): string; /** @pure */ export declare function worktreeInstructionSteps(changes: WorktreeChanges, language: string): string[]; /** @pure */ export declare function localRepositoryInstructions(root: string, steps: string[], language: string, recheckCommand: string): string; /** @pure */ export declare function selectIdea(ideas: Idea[], selector?: string): Idea | null; /** @pure */ export declare function lifecycleContentLanguageInstruction(contentLanguage: string, language: string): string; /** @pure */ export declare function lifecycleReview(idea: LifecycleIdea, primaryCommit: string, contentLanguage: string): ReviewContext | undefined; /** @pure */ export declare function lifecycleInstruction(idea: LifecycleIdea, language: string, contentLanguage: string): string; /** @pure */ export declare function navigationInstruction(ideas: Pick[], language: string): string; export {}; //# sourceMappingURL=instructions.d.ts.map