import type { GapAnalysis } from '../schemas/gap-analysis.schema.js'; import { type BaselineSnapshot, type BaselineDelta } from './baseline.schema.js'; /** * Produce a filesystem-safe slug from a URL. * e.g. "https://my-app.vercel.app/admin" → "my-app_vercel_app__admin" */ export declare function slugifyUrl(url: string): string; /** * Return the default root for baseline storage: `/.qulib-baselines`. * Callers may supply an explicit `baseDir` to override. */ export declare function defaultBaselineRoot(): string; /** * Save a baseline snapshot derived from the given `GapAnalysis` result. * * @returns The saved snapshot. */ export declare function saveBaseline(analysis: GapAnalysis, url: string, options?: { baseDir?: string; label?: string; }): Promise; /** * Load a specific baseline snapshot by its `id`. * * @throws If the file does not exist or fails schema validation. */ export declare function loadBaseline(id: string, options?: { baseDir?: string; }): Promise; /** * List all saved baselines for the given URL, sorted newest-first. * * Returns an empty array if no baselines exist yet. */ export declare function listBaselines(url: string, options?: { baseDir?: string; }): Promise; /** * Delete a specific baseline snapshot by its `id`. * * @throws If the file does not exist. */ export declare function deleteBaseline(id: string, options?: { baseDir?: string; }): Promise; /** * Compare two baseline snapshots and return a structured delta report. * * - `newGaps`: problems present in `current` but not in `prior`. * - `resolvedGaps`: problems present in `prior` but no longer in `current`. * - `severityChanges`: same problem (matching key) with a different severity. */ export declare function compareBaselines(prior: BaselineSnapshot, current: BaselineSnapshot): BaselineDelta; //# sourceMappingURL=baseline.d.ts.map