import { SvelteComponentTyped, type ComponentConstructorOptions } from "svelte"; import type { SvelteHTMLElements } from "svelte/elements"; export type CarbonThemeZoneContext = import("svelte/store").Readable; export type CarbonLayerContext = import("svelte/store").Readable; type $RestProps = NoInfer; type $Elements = { [$Tag in keyof HTMLElementTagNameMap]: Omit<$RestProps<$Tag>, keyof $Props<$Tag>> }; type $Props = { /** * Specify the theme for the zone. `"system"` follows the operating * system color scheme with CSS alone: White for light, Gray 100 for dark. */ theme: import("../Theme/Theme.svelte").CarbonTheme | "system"; /** * Specify the tag name. * @default "div" */ tag?: Tag; /** * Obtain a reference to the HTML element. * @default null */ ref?: null | HTMLElementTagNameMap[Tag]; children?: (this: void) => void; [key: `data-${string}`]: unknown; }; export type ThemeZoneProps = $Elements[Tag] & $Props; export default class ThemeZone extends SvelteComponentTyped< ThemeZoneProps, Record, { default: Record } > { constructor(options: ComponentConstructorOptions>); }