import type { InterviewAnswer, InterviewQuestion, InterviewRecord } from './types'; export declare const DEFAULT_OUTPUT_FOLDER = "interview"; export declare function normalizeOutputFolder(outputFolder: string): string; export declare function createInterviewDirectoryPath(directory: string, outputFolder: string): string; export declare function createInterviewFilePath(directory: string, outputFolder: string, idea: string): string; export declare function relativeInterviewPath(directory: string, filePath: string): string; /** * Resolve a user-provided value to an existing .md file path. * Checks absolute paths, relative paths, and output-folder-relative paths. * Returns null if no matching file is found. */ export declare function resolveExistingInterviewPath(directory: string, outputFolder: string, value: string): string | null; export declare function slugify(value: string): string; export declare function extractSummarySection(document: string): string; export declare function extractTitle(document: string): string; export declare function buildInterviewDocument(idea: string, summary: string, history: string, meta?: { sessionID?: string; baseMessageCount?: number; }): string; /** Parse frontmatter from a .md file. Returns null if no frontmatter. */ export declare function parseFrontmatter(content: string): Record | null; export declare function ensureInterviewFile(record: InterviewRecord): Promise; export declare function readInterviewDocument(record: InterviewRecord): Promise; export declare function rewriteInterviewDocument(record: InterviewRecord, summary: string): Promise; export declare function appendInterviewAnswers(record: InterviewRecord, questions: InterviewQuestion[], answers: InterviewAnswer[]): Promise;