import { AcceptanceCriterion, ChangeLogEntry, Epic, ParseResult, Story } from './StorySchema';
interface RawDoc {
    fields: Record<string, string>;
    sections: Record<string, string>;
    title: string;
}
declare function normalizeKey(field: string): string;
declare function parseRaw(content: string): RawDoc;
declare function parseAcceptanceCriteria(sectionText: string | undefined): AcceptanceCriterion[];
declare function parseChangeLog(sectionText: string | undefined): ChangeLogEntry[];
declare function extractStoryIds(sectionText: string | undefined): string[];
declare function deriveEpicIdFromPath(sourcePath: string): string;
declare function deriveStoryIdFromPath(sourcePath: string): string | null;
export declare function parseStory(content: string, sourcePath: string): ParseResult<Story>;
export declare function parseEpic(content: string, sourcePath: string): ParseResult<Epic>;
export declare const _internals: {
    parseRaw: typeof parseRaw;
    parseAcceptanceCriteria: typeof parseAcceptanceCriteria;
    parseChangeLog: typeof parseChangeLog;
    extractStoryIds: typeof extractStoryIds;
    deriveEpicIdFromPath: typeof deriveEpicIdFromPath;
    deriveStoryIdFromPath: typeof deriveStoryIdFromPath;
    normalizeKey: typeof normalizeKey;
};
export {};
