import { SvelteComponentTyped } from "svelte"; import type { SvelteHTMLElements } from "svelte/elements"; type $RestProps = SvelteHTMLElements["div"]; type $Props = { /** * Specify the kind of error page to be displayed. * @default "custom" */ kind?: "custom" | "403" | "404"; /** * Specify the label describing the error that occurred. * @default "" */ labelText?: string; /** * Specify the main title of the error page. * @default "" */ title?: string; /** * Specify the description for the error. * @default "" */ description?: string; descriptionChildren?: (this: void) => void; illustration?: (this: void) => void; labelChildren?: (this: void) => void; titleChildren?: (this: void) => void; children?: (this: void) => void; [key: `data-${string}`]: unknown; }; export type FullPageErrorProps = Omit<$RestProps, keyof $Props> & $Props; export default class FullPageError extends SvelteComponentTyped< FullPageErrorProps, Record, { default: Record; descriptionChildren: Record; illustration: Record; labelChildren: Record; titleChildren: Record; } > {}