export type AdrStatus = "proposed" | "accepted" | "superseded" | "rejected";
export interface AdrRecord {
    id: string;
    title: string;
    status: AdrStatus;
    date: string;
    context: string;
    decision: string;
    consequences: string;
    supersedes?: string[];
    supersededBy?: string;
    links?: string[];
    path?: string;
}
export interface AdrIndex {
    active: AdrRecord[];
    superseded: AdrRecord[];
    proposed: AdrRecord[];
    rejected: AdrRecord[];
}
export declare const ADR_DIR = "docs/adr";
export declare function getAdrDir(projectRoot: string): string;
export declare function createAdrSlug(title: string): string;
export declare function createAdrFileName(id: number, title: string): string;
export declare function createAdrMarkdown(record: AdrRecord): string;
export declare function parseAdrMarkdown(markdown: string, path?: string): AdrRecord | undefined;
export declare function readAdrIndex(projectRoot: string): AdrIndex;
export declare function findRelevantAdrs(records: readonly AdrRecord[], query: string, limit?: number): AdrRecord[];
export declare function renderAdrCapsule(records: readonly AdrRecord[]): string | undefined;
export declare function ensureAdrDir(projectRoot: string): string;
//# sourceMappingURL=adr-format.d.ts.map