import type { DocsContentItem, DocsmithConfig, ResolvedVersion, SearchDoc } from '../../core/index.js'; import type { Snippet } from 'svelte'; type $$ComponentProps = { config: DocsmithConfig; /** Content index, so the error page keeps the same header/footer as the site. */ content?: DocsContentItem[]; /** * The resolved version manifest (same as `DocsShell`). Pass it on a * versioned site so an error under an archived prefix keeps that version's * search scope, switcher, and `noindex`. */ versions?: ResolvedVersion[]; /** Enable the ⌘K search palette on the error page (same loader as DocsShell). */ search?: (versionId?: string) => Promise; /** HTTP status; defaults to the current `page.status`. */ status?: number; /** Heading; defaults to a message keyed off the status. */ title?: string; /** Body line; defaults to the error message, or a status-appropriate default. */ message?: string; /** Where the primary action links. Default: the site root. */ home?: string; homeLabel?: string; /** Render the decorative page background. Default: `true`. */ pattern?: boolean; /** Extra content below the action (e.g. a search prompt or links). */ children?: Snippet; }; declare const ErrorPage: import("svelte").Component<$$ComponentProps, {}, "">; type ErrorPage = ReturnType; export default ErrorPage;