import { type HtmdxCompileOptions } from '../index'; export type HtmdxSnapshotMode = 'structure' | 'html'; export type HtmdxSnapshotOptions = HtmdxCompileOptions & { mode?: HtmdxSnapshotMode; }; export declare function extractSource(html: string): string; export declare function snapshot(source: string, options?: HtmdxSnapshotOptions): string;