export type ArchiveVersionOptions = { /** Id of the archive to create. Becomes its directory name and URL segment. */ id: string; /** Switcher label for the archive. Defaults to the id. */ label?: string; /** Docs content directory, resolved against `cwd`. */ content?: string; /** SvelteKit routes directory, resolved against `cwd`. */ routes?: string; /** Working directory the relative options resolve against. */ cwd?: string; }; /** * Copy the docs root into `//`, mark it as an archive, and rewrite * each copied page so it stays inside the archive and keeps its real * last-updated date. Returns the number of pages archived. * * @experimental Outside the 1.0 stability promise. May change in a minor until * authors have used versioning for real. */ export declare function archiveVersion(options: ArchiveVersionOptions, log: (line: string) => void): number;