import { SvelteComponentTyped } from "svelte"; import type { SvelteHTMLElements } from "svelte/elements"; type $RestProps = SvelteHTMLElements["div"]; type $Props = { /** * Set to `true` to render a breadcrumb placeholder above the title. * @default false */ breadcrumb?: boolean; /** * Set to `false` to omit the subtitle placeholder. * @default true */ subtitle?: boolean; /** * Set to `true` to render an action button placeholder. * @default false */ actions?: boolean; /** * Specify the number of tab placeholders. `0` renders no tabs row. * @default 0 */ tabs?: number; /** * Match the `PageHeader`'s `grid` so the placeholder lines up the same way. * @default false */ grid?: boolean | "full-width"; /** * Match the `PageHeader`'s `fill`. * @default "background" */ fill?: "background" | "layer-01" | "layer-02"; /** * Match the `PageHeader`'s `size`. * @default "default" */ size?: "default" | "sm"; /** * Match the `PageHeader`'s `hideDivider`. * @default false */ hideDivider?: boolean; [key: `data-${string}`]: unknown; }; export type PageHeaderSkeletonProps = Omit<$RestProps, keyof $Props> & $Props; export default class PageHeaderSkeleton extends SvelteComponentTyped< PageHeaderSkeletonProps, Record, Record > {}