import type { BadgeComponent } from "../components/badge/index.js"; import type { BottomAppBarComponent } from "../components/bottom-app-bar/index.js"; import type { BottomSheetComponent, BottomSheetEventHandlers } from "../components/bottom-sheet/index.js"; import type { ButtonGroupComponent } from "../components/button-group/index.js"; import type { ButtonComponent } from "../components/button/types.js"; import type { CardComponent } from "../components/card/index.js"; import type { CarouselComponent } from "../components/carousel/index.js"; import type { CheckboxComponent } from "../components/checkbox/index.js"; import type { ChipsComponent } from "../components/chips/index.js"; import type { DatePickerComponent } from "../components/datepicker/index.js"; import type { DialogComponent } from "../components/dialog/index.js"; import type { DividerComponent } from "../components/divider/index.js"; import type { NavigationDrawerComponent } from "../components/drawer/index.js"; import type { ExtendedFabComponent } from "../components/extended-fab/index.js"; import type { FabMenuComponent } from "../components/fab-menu/index.js"; import type { FabComponent } from "../components/fab/index.js"; import type { ListComponent, ListItem } from "../components/list/index.js"; import type { LoadingIndicatorComponent } from "../components/loading-indicator/index.js"; import type { MenuComponent, MenuContent } from "../components/menu/types.js"; import type { NavigationBarComponent } from "../components/navigation-bar/index.js"; import type { NavigationRailComponent, NavigationRailItemConfig } from "../components/navigation-rail/index.js"; import type { ProgressComponent } from "../components/progress/types.js"; import type { RadiosComponent } from "../components/radios/index.js"; import type { SearchComponent, SearchEvents } from "../components/search/index.js"; import type { SelectComponent } from "../components/select/index.js"; import type { SideSheetComponent } from "../components/side-sheet/index.js"; import type { SliderComponent } from "../components/slider/index.js"; import type { SnackbarComponent } from "../components/snackbar/index.js"; import type { SplitButtonComponent, SplitButtonEvent, SplitButtonEventType } from "../components/split-button/types.js"; import type { SwitchComponent } from "../components/switch/index.js"; import type { TabsComponent } from "../components/tabs/index.js"; import type { TextFieldComponent } from "../components/text-field/index.js"; import type { TimePickerComponent, TimePickerEvents } from "../components/timepicker/index.js"; import type { ToolbarComponent } from "../components/toolbar/index.js"; import type { TooltipComponent } from "../components/tooltip/index.js"; import type { TopAppBarComponent } from "../components/top-app-bar/index.js"; import type { AttributeValue, Config, DefineOptions, ElementAttributes, ElementHost, ElementInstance } from "./define.js"; /** Every element, by name. */ declare const elements: { readonly button: import("./define.js").ElementDefinition; readonly switch: import("./define.js").ElementDefinition; readonly tabs: import("./define.js").ElementDefinition; readonly progress: import("./define.js").ElementDefinition; readonly loadingIndicator: import("./define.js").ElementDefinition; readonly badge: import("./define.js").ElementDefinition; readonly divider: import("./define.js").ElementDefinition; readonly iconButton: import("./define.js").ElementDefinition; readonly fab: import("./define.js").ElementDefinition; readonly extendedFab: import("./define.js").ElementDefinition; readonly checkbox: import("./define.js").ElementDefinition; readonly slider: import("./define.js").ElementDefinition; readonly textField: import("./define.js").ElementDefinition; readonly radios: import("./define.js").ElementDefinition; readonly navigationBar: import("./define.js").ElementDefinition; readonly navigationRail: import("./define.js").ElementDefinition; readonly navigationDrawer: import("./define.js").ElementDefinition; readonly drawer: import("./define.js").ElementDefinition; readonly appBar: import("./define.js").ElementDefinition; readonly topAppBar: import("./define.js").ElementDefinition; readonly bottomAppBar: import("./define.js").ElementDefinition; readonly buttonGroup: import("./define.js").ElementDefinition; readonly chips: import("./define.js").ElementDefinition; readonly list: import("./define.js").ElementDefinition>; readonly card: import("./define.js").ElementDefinition; readonly carousel: import("./define.js").ElementDefinition; readonly menu: import("./define.js").ElementDefinition; readonly fabMenu: import("./define.js").ElementDefinition; readonly select: import("./define.js").ElementDefinition; readonly splitButton: import("./define.js").ElementDefinition; readonly tooltip: import("./define.js").ElementDefinition; readonly toolbar: import("./define.js").ElementDefinition; readonly snackbar: import("./define.js").ElementDefinition; readonly dialog: import("./define.js").ElementDefinition; readonly bottomSheet: import("./define.js").ElementDefinition; readonly sideSheet: import("./define.js").ElementDefinition; readonly datepicker: import("./define.js").ElementDefinition; readonly timepicker: import("./define.js").ElementDefinition; readonly search: import("./define.js").ElementDefinition; }; /** Declaration children, which render nothing and are read by their parent. */ declare const declarations: { readonly tab: typeof tabDeclaration; readonly radio: typeof radioDeclaration; readonly navigationBarItem: typeof navigationBarItemDeclaration; readonly navigationRailItem: typeof navigationRailItemDeclaration; readonly navigationDrawerItem: typeof navigationDrawerItemDeclaration; readonly drawerItem: typeof drawerItemDeclaration; readonly buttonGroupItem: typeof buttonGroupItemDeclaration; readonly chip: typeof chipDeclaration; readonly listItem: typeof listItemDeclaration; readonly carouselItem: typeof carouselItemDeclaration; readonly menuItem: typeof menuItemDeclaration; readonly fabMenuItem: typeof fabMenuItemDeclaration; readonly selectOption: typeof selectOptionDeclaration; readonly searchSuggestion: typeof searchSuggestionDeclaration; }; /** Registers every element. */ declare const defineAll: (options?: DefineOptions) => void; declare const createBarSpec: (name: string) => { name: string; slots: readonly [ "leading", "trailing" ]; create: (config: Config) => TopAppBarComponent; styles: string[]; hostStyles: string; attributes: { type: { type: "string"; config: string; update: (c: TopAppBarComponent, v: import("./define.js").AttributeValue) => undefined; }; headline: { type: "string"; config: string; update: (c: TopAppBarComponent, v: import("./define.js").AttributeValue) => void; }; "no-scroll": { type: "boolean"; }; "no-compress": { type: "boolean"; }; "scroll-threshold": { type: "number"; config: string; }; "scroll-target": { type: "string"; }; "aria-label": { type: "string"; update: (c: TopAppBarComponent, v: import("./define.js").AttributeValue) => void; }; }; methods: readonly [ "setScrollState" ]; config: (host: HTMLElement) => Config; setup: (host: import("./define.js").ElementHost, component: TopAppBarComponent) => () => void; }; declare const appBarSpec: { name: string; slots: readonly [ "leading", "trailing" ]; create: (config: Config) => TopAppBarComponent; styles: string[]; hostStyles: string; attributes: { type: { type: "string"; config: string; update: (c: TopAppBarComponent, v: import("./define.js").AttributeValue) => undefined; }; headline: { type: "string"; config: string; update: (c: TopAppBarComponent, v: import("./define.js").AttributeValue) => void; }; "no-scroll": { type: "boolean"; }; "no-compress": { type: "boolean"; }; "scroll-threshold": { type: "number"; config: string; }; "scroll-target": { type: "string"; }; "aria-label": { type: "string"; update: (c: TopAppBarComponent, v: import("./define.js").AttributeValue) => void; }; }; methods: readonly [ "setScrollState" ]; config: (host: HTMLElement) => Config; setup: (host: import("./define.js").ElementHost, component: TopAppBarComponent) => () => void; }; declare const appBarElement: import("./define.js").ElementDefinition; type AppBarSpec = typeof appBarSpec; /** `` as a ref or a query returns it. */ type AppBarElement = ElementInstance; /** Registers `` (or ``). */ declare const defineAppBar: (options?: DefineOptions) => string; declare global { /** `document.querySelector("m-…")` and `createElement` return the element's type (the default prefix). */ interface HTMLElementTagNameMap { "m-app-bar": AppBarElement; } } declare const badgeSpec: { name: string; create: (config: import("./define.js").Config) => BadgeComponent; styles: string[]; hostStyles: string; attributes: { label: { type: "string"; config: string; update: (c: BadgeComponent, _v: import("./define.js").AttributeValue, host: HTMLElement) => void; }; max: { type: "number"; config: string; }; variant: { type: "string"; config: string; update: (c: BadgeComponent, v: import("./define.js").AttributeValue) => undefined; }; color: { type: "string"; config: string; update: (c: BadgeComponent, v: import("./define.js").AttributeValue) => undefined; }; }; properties: { visible: { get: (c: BadgeComponent) => boolean; set: (c: BadgeComponent, v: unknown) => undefined; config: string; }; }; config: (host: HTMLElement) => { label?: undefined; } | { label: string; }; setup: (host: import("./define.js").ElementHost, component: BadgeComponent) => undefined; observeChildren: (host: import("./define.js").ElementHost, component: BadgeComponent) => true; }; declare const badgeElement: import("./define.js").ElementDefinition; type BadgeSpec = typeof badgeSpec; /** `` as a ref or a query returns it. */ type BadgeElement = ElementInstance; /** Registers `` (or ``). */ declare const defineBadge: (options?: DefineOptions) => string; declare global { /** `document.querySelector("m-…")` and `createElement` return the element's type (the default prefix). */ interface HTMLElementTagNameMap { "m-badge": BadgeElement; } } declare const bottomAppBarSpec: { name: string; slots: readonly [ "fab" ]; create: (config: Config) => BottomAppBarComponent; styles: string[]; hostStyles: string; attributes: { "fab-position": { type: "string"; config: string; }; "auto-hide": { type: "boolean"; config: string; }; "transition-duration": { type: "number"; config: string; }; "aria-label": { type: "string"; update: (c: BottomAppBarComponent, v: import("./define.js").AttributeValue) => void; }; }; methods: readonly [ "show", "hide" ]; config: (host: HTMLElement) => Config; setup: (host: import("./define.js").ElementHost, component: BottomAppBarComponent) => () => void | undefined; }; /** * The `` element. * @deprecated Material Design 3 Expressive replaces the bottom app bar with * the docked toolbar. Use `` * and toolbarElement instead. A centred FAB, adding a FAB after creation, a * custom transition duration and a custom tag are not yet available on the * docked toolbar. */ declare const bottomAppBarElement: import("./define.js").ElementDefinition; /** @deprecated Use ToolbarSpec: the docked toolbar's element spec. */ type BottomAppBarSpec = typeof bottomAppBarSpec; /** * `` as a ref or a query returns it. * @deprecated Use ToolbarElement: the docked toolbar's element type. */ type BottomAppBarElement = ElementInstance; /** * Registers `` (or ``). * @deprecated Material Design 3 Expressive replaces the bottom app bar with * the docked toolbar. Use defineToolbar and * `` instead. */ declare const defineBottomAppBar: (options?: DefineOptions) => string; declare global { /** `document.querySelector("m-…")` and `createElement` return the element's type (the default prefix). */ interface HTMLElementTagNameMap { "m-bottom-app-bar": BottomAppBarElement; } } /** The sheet's events, and `expand` and `collapse`, which the element tells apart from its state changes. */ interface BottomSheetElementEvents extends BottomSheetEventHandlers { expand?: () => void; collapse?: () => void; } /** The sheet with the `show()` the element names after ``'s, and its `expand` and `collapse` events. */ interface BottomSheetElementComponent extends Omit { show: () => BottomSheetComponent; on: (event: T, handler: NonNullable) => unknown; off: (event: T, handler: NonNullable) => unknown; } declare const bottomSheetSpec: { name: string; slots: readonly [ "headline" ]; create: (config: import("./define.js").Config) => BottomSheetElementComponent; styles: string[]; hostStyles: string; attributes: { open: { type: "boolean"; update: (c: BottomSheetElementComponent, v: import("./define.js").AttributeValue, host: HTMLElement) => void; }; expanded: { type: "boolean"; update: (c: BottomSheetElementComponent, v: import("./define.js").AttributeValue) => void; }; modal: { type: "boolean"; config: string; }; variant: { type: "string"; }; headline: { type: "string"; config: string; update: (c: BottomSheetElementComponent, v: import("./define.js").AttributeValue, host: HTMLElement) => void; }; "peek-height": { type: "number"; config: string; }; "max-width": { type: "number"; config: string; }; "no-drag-handle": { type: "boolean"; config: string; }; "no-close-on-scrim-click": { type: "boolean"; config: string; }; "no-close-on-escape": { type: "boolean"; config: string; }; "aria-label": { type: "string"; update: (c: BottomSheetElementComponent, _v: import("./define.js").AttributeValue, host: HTMLElement) => void; }; }; methods: readonly [ "show", "close", "expand", "collapse" ]; events: { open: { detail: () => null; state: true; }; close: { detail: () => null; state: true; }; expand: { detail: () => null; state: true; }; collapse: { detail: () => null; state: true; }; }; config: (host: HTMLElement) => { host: HTMLElement; }; setup: (host: import("./define.js").ElementHost, component: BottomSheetElementComponent) => () => void; }; declare const bottomSheetElement: import("./define.js").ElementDefinition; type BottomSheetSpec = typeof bottomSheetSpec; /** `` as a ref or a query returns it. */ type BottomSheetElement = ElementInstance; /** Registers `` (or ``). */ declare const defineBottomSheet: (options?: DefineOptions) => string; declare global { /** `document.querySelector("m-…")` and `createElement` return the element's type (the default prefix). */ interface HTMLElementTagNameMap { "m-bottom-sheet": BottomSheetElement; } } /** The live selection: one value, several, or none. */ type ButtonGroupValue = string | string[] | null; declare const buttonGroupSpec: { name: string; create: (config: Config) => ButtonGroupComponent; styles: string[]; hostStyles: string; attributes: { variant: { type: "string"; config: string; update: (c: ButtonGroupComponent, v: import("./define.js").AttributeValue) => undefined; }; kind: { type: "string"; config: string; }; selection: { type: "string"; config: string; }; required: { type: "boolean"; config: string; }; size: { type: "string"; config: string; }; shape: { type: "string"; config: string; }; labels: { type: "string"; config: string; }; orientation: { type: "string"; config: string; update: (c: ButtonGroupComponent, v: import("./define.js").AttributeValue) => undefined; }; density: { type: "string"; config: string; update: (c: ButtonGroupComponent, v: import("./define.js").AttributeValue) => undefined; }; "equal-width": { type: "boolean"; config: string; }; "expanded-ratio": { type: "number"; config: string; }; disabled: { type: "boolean"; config: string; update: (c: ButtonGroupComponent, v: import("./define.js").AttributeValue, host: HTMLElement) => void; }; "aria-label": { type: "string"; config: string; update: (c: ButtonGroupComponent, v: import("./define.js").AttributeValue) => void; }; value: { type: "string"; update: (c: ButtonGroupComponent, v: import("./define.js").AttributeValue) => void; }; }; properties: { value: { get: (c: ButtonGroupComponent) => ButtonGroupValue; set: (c: ButtonGroupComponent, v: unknown) => void; }; }; model: "value"; events: { change: { detail: (payload: unknown) => { value: ButtonGroupValue; }; }; action: { detail: (payload: unknown) => { value: string; index: number; }; state: true; }; }; config: (host: HTMLElement) => Config; setup: (host: ElementHost, component: ButtonGroupComponent) => () => undefined; observeChildren: (host: ElementHost, component: ButtonGroupComponent) => boolean; }; declare const buttonGroupElement: import("./define.js").ElementDefinition; type ButtonGroupSpec = typeof buttonGroupSpec; /** `` as a ref or a query returns it. */ type ButtonGroupElement = ElementInstance; /** `` declares one button and renders nothing. */ declare const buttonGroupItemDeclaration: { readonly name: "button-group-item"; readonly attributes: { readonly value: { readonly type: "string"; }; readonly label: { readonly type: "string"; }; /** Markup (HTML). */ readonly icon: { readonly type: "string"; }; /** Markup (HTML). */ readonly "selected-icon": { readonly type: "string"; }; readonly "aria-label": { readonly type: "string"; }; readonly disabled: { readonly type: "boolean"; }; readonly selected: { readonly type: "boolean"; }; }; }; type ButtonGroupItemAttributes = ElementAttributes; /** Registers `` and `` (or with another prefix). */ declare const defineButtonGroup: (options?: DefineOptions) => string; declare global { /** `document.querySelector("m-…")` and `createElement` return the element's type (the default prefix). */ interface HTMLElementTagNameMap { "m-button-group": ButtonGroupElement; "m-button-group-item": HTMLElement & ButtonGroupItemAttributes; } } declare const buttonSpec: { name: string; create: (config: import("./define.js").Config) => ButtonComponent; styles: string[]; hostStyles: string; attributes: { "aria-label": { type: "string"; config: string; update: (c: ButtonComponent, v: import("./define.js").AttributeValue) => undefined; }; "aria-expanded": import("./define.js").AttributeSpec & { type: "string"; }; "aria-haspopup": import("./define.js").AttributeSpec & { type: "string"; }; "aria-pressed": import("./define.js").AttributeSpec & { type: "string"; }; "aria-controls": import("./define.js").AttributeSpec & { type: "string"; }; "aria-describedby": import("./define.js").AttributeSpec & { type: "string"; }; variant: { type: "string"; config: string; update: (c: ButtonComponent, v: import("./define.js").AttributeValue) => undefined; }; size: { type: "string"; config: string; update: (c: ButtonComponent, v: import("./define.js").AttributeValue) => undefined; }; shape: { type: "string"; config: string; update: (c: ButtonComponent, v: import("./define.js").AttributeValue) => undefined; }; disabled: { type: "boolean"; config: string; update: (c: ButtonComponent, v: import("./define.js").AttributeValue) => undefined; }; loading: { type: "boolean"; config: string; }; /** Markup (HTML). */ icon: { type: "string"; config: string; }; "icon-position": { type: "string"; config: string; }; toggle: { type: "boolean"; config: string; }; selected: { type: "boolean"; config: string; update: (c: ButtonComponent, v: import("./define.js").AttributeValue) => undefined; }; value: { type: "string"; config: string; update: (c: ButtonComponent, v: import("./define.js").AttributeValue) => undefined; }; type: { readonly type: "string"; readonly update: () => undefined; }; }; properties: { selected: { get: (c: ButtonComponent) => boolean; set: (c: ButtonComponent, v: unknown) => undefined; config: string; }; }; methods: readonly [ "setSelected" ]; model: "selected"; slot: { attribute: "label"; config: string; }; events: { change: { detail: (payload: unknown) => { selected: boolean; value: string; }; }; }; form: import("./define.js").FormSpec; setup: (host: import("./define.js").ElementHost, component: C) => (() => void); }; declare const buttonElement: import("./define.js").ElementDefinition; type ButtonSpec = typeof buttonSpec; /** `` as a ref or a query returns it. */ type ButtonElement = ElementInstance; /** Registers `` (or ``). */ declare const defineButton: (options?: DefineOptions) => string; declare global { /** `document.querySelector("m-…")` and `createElement` return the element's type (the default prefix). */ interface HTMLElementTagNameMap { "m-button": ButtonElement; } } declare const cardSpec: { name: string; slots: readonly [ "avatar", "header-action", "headline", "subhead", "media", "actions" ]; create: (config: Config) => CardComponent; styles: string[]; hostStyles: string; attributes: { variant: { type: "string"; config: string; }; clickable: { type: "boolean"; config: string; }; "promote-child-actions": { type: "boolean"; config: string; }; "full-width": { type: "boolean"; config: string; update: (c: CardComponent, v: import("./define.js").AttributeValue) => undefined; }; headline: { type: "string"; config: string; }; subhead: { type: "string"; config: string; }; "actions-align": { type: "string"; config: string; }; disabled: { type: "boolean"; update: (c: CardComponent, v: import("./define.js").AttributeValue) => void; }; "aria-label": { type: "string"; config: string; update: (c: CardComponent, v: import("./define.js").AttributeValue) => void; }; }; config: (host: HTMLElement) => Config; setup: (host: import("./define.js").ElementHost, c: CardComponent) => void; observeChildren: (host: HTMLElement, component: CardComponent) => boolean; }; declare const cardElement: import("./define.js").ElementDefinition; type CardSpec = typeof cardSpec; /** `` as a ref or a query returns it. */ type CardElement = ElementInstance; /** Registers `` (or ``). */ declare const defineCard: (options?: DefineOptions) => string; declare global { /** `document.querySelector("m-…")` and `createElement` return the element's type (the default prefix). */ interface HTMLElementTagNameMap { "m-card": CardElement; } } declare const carouselSpec: { name: string; ssr: false; create: (config: Config) => CarouselComponent; styles: string[]; hostStyles: string; attributes: { wheel: { type: "boolean"; config: string; update: (c: CarouselComponent, v: import("./define.js").AttributeValue) => undefined; }; variant: { type: "string"; config: string; }; index: { type: "number"; config: string; update: (c: CarouselComponent, v: import("./define.js").AttributeValue) => undefined; }; "item-width": { type: "number"; config: string; }; gap: { type: "number"; config: string; }; padding: { type: "number"; config: string; }; "corner-radius": { type: "number"; config: string; }; "min-small-item-width": { type: "number"; config: string; }; "max-small-item-width": { type: "number"; config: string; }; "aria-label": { type: "string"; config: string; update: (c: CarouselComponent, v: import("./define.js").AttributeValue) => void; }; }; properties: { index: { get: (c: CarouselComponent) => number; set: (c: CarouselComponent, v: unknown) => undefined; config: string; }; }; model: "index"; methods: readonly [ "next", "prev", "goTo" ]; events: { change: { detail: (payload: unknown) => { value: number; }; }; }; config: (host: HTMLElement) => Config; observeChildren: (host: HTMLElement, component: CarouselComponent) => boolean; }; declare const carouselElement: import("./define.js").ElementDefinition; type CarouselSpec = typeof carouselSpec; /** `` as a ref or a query returns it. */ type CarouselElement = ElementInstance; /** `` declares one item and renders nothing. */ declare const carouselItemDeclaration: { readonly name: "carousel-item"; readonly attributes: { readonly value: { readonly type: "string"; }; readonly src: { readonly type: "string"; }; readonly alt: { readonly type: "string"; }; readonly width: { readonly type: "number"; }; readonly height: { readonly type: "number"; }; readonly loading: { readonly type: "string"; }; readonly decoding: { readonly type: "string"; }; readonly label: { readonly type: "string"; }; readonly title: { readonly type: "string"; }; readonly description: { readonly type: "string"; }; readonly "button-text": { readonly type: "string"; }; readonly "button-url": { readonly type: "string"; }; }; }; type CarouselItemAttributes = ElementAttributes; /** Registers `` and `` (or with another prefix). */ declare const defineCarousel: (options?: DefineOptions) => string; declare global { /** `document.querySelector("m-…")` and `createElement` return the element's type (the default prefix). */ interface HTMLElementTagNameMap { "m-carousel": CarouselElement; "m-carousel-item": HTMLElement & CarouselItemAttributes; } } declare const checkboxSpec: { name: string; create: (config: import("./define.js").Config) => CheckboxComponent; styles: string[]; hostStyles: string; attributes: { checked: { type: "boolean"; config: string; update: (c: CheckboxComponent, v: import("./define.js").AttributeValue) => undefined; }; disabled: { type: "boolean"; config: string; update: (c: CheckboxComponent, v: import("./define.js").AttributeValue) => undefined; }; required: { type: "boolean"; config: string; }; value: { type: "string"; config: string; update: (c: CheckboxComponent, v: import("./define.js").AttributeValue) => undefined; }; error: { type: "boolean"; config: string; update: (c: CheckboxComponent, v: import("./define.js").AttributeValue) => undefined; }; "label-position": { type: "string"; config: string; }; "aria-label": { type: "string"; config: string; }; }; properties: { checked: { get: (c: CheckboxComponent) => boolean; set: (c: CheckboxComponent, v: unknown) => undefined; config: string; }; indeterminate: { get: (c: CheckboxComponent) => boolean; set: (c: CheckboxComponent, v: unknown) => undefined; config: string; }; }; methods: readonly [ "toggle", "check", "uncheck" ]; model: "checked"; events: { change: { detail: (payload: unknown) => { checked: boolean; value: boolean; valueAttribute: string; nativeEvent: Event | undefined; }; }; }; slot: { attribute: "label"; config: string; }; form: { value: (c: CheckboxComponent) => string | null; control: (c: CheckboxComponent) => HTMLInputElement; events: string[]; activate: (c: CheckboxComponent) => void; state: (c: CheckboxComponent) => "checked" | "unchecked"; restore: (c: CheckboxComponent, state: string) => undefined; disable: (c: CheckboxComponent, disabled: boolean) => undefined; }; }; declare const checkboxElement: import("./define.js").ElementDefinition; type CheckboxSpec = typeof checkboxSpec; /** `` as a ref or a query returns it. */ type CheckboxElement = ElementInstance; /** Registers `` (or ``). */ declare const defineCheckbox: (options?: DefineOptions) => string; declare global { /** `document.querySelector("m-…")` and `createElement` return the element's type (the default prefix). */ interface HTMLElementTagNameMap { "m-checkbox": CheckboxElement; } } /** The live selection: several values, or one or none in a single-select set. */ type ChipsValue = string | string[] | null; declare const chipsSpec: { name: string; create: (config: Config) => ChipsComponent; styles: string[]; hostStyles: string; attributes: { selection: { type: "string"; }; "selection-required": { type: "boolean"; config: string; }; scrollable: { type: "boolean"; config: string; update: (c: ChipsComponent, v: import("./define.js").AttributeValue) => undefined; }; vertical: { type: "boolean"; config: string; update: (c: ChipsComponent, v: import("./define.js").AttributeValue) => undefined; }; label: { type: "string"; config: string; update: (c: ChipsComponent, v: import("./define.js").AttributeValue) => undefined; }; "label-position": { type: "string"; config: string; update: (c: ChipsComponent, v: import("./define.js").AttributeValue) => undefined; }; "aria-label": { type: "string"; config: string; update: (c: ChipsComponent, v: import("./define.js").AttributeValue) => void; }; value: { type: "string"; update: (c: ChipsComponent, v: import("./define.js").AttributeValue) => void; }; }; properties: { value: { get: (c: ChipsComponent) => ChipsValue; set: (c: ChipsComponent, v: unknown) => void; }; }; model: "value"; events: { change: { detail: (payload: unknown) => { value: string | string[] | null; }; }; remove: { detail: (payload: unknown) => { chipValue: string | null; value: string | string[] | null; }; }; }; config: (host: HTMLElement) => Config; setup: (host: ElementHost, component: ChipsComponent) => () => undefined; observeChildren: (host: ElementHost, component: ChipsComponent) => boolean; }; declare const chipsElement: import("./define.js").ElementDefinition; type ChipsSpec = typeof chipsSpec; /** `` as a ref or a query returns it. */ type ChipsElement = ElementInstance; /** `` declares one chip and renders nothing. */ declare const chipDeclaration: { readonly name: "chip"; readonly attributes: { readonly value: { readonly type: "string"; }; readonly label: { readonly type: "string"; }; readonly variant: { readonly type: "string"; }; /** Markup (HTML). */ readonly icon: { readonly type: "string"; }; /** Markup (HTML). */ readonly "trailing-icon": { readonly type: "string"; }; /** Markup (HTML), not a person's name or an image URL. */ readonly avatar: { readonly type: "string"; }; readonly "remove-label": { readonly type: "string"; }; readonly selected: { readonly type: "boolean"; }; readonly disabled: { readonly type: "boolean"; }; readonly elevated: { readonly type: "boolean"; }; }; }; type ChipAttributes = ElementAttributes; /** Registers `` and `` (or with another prefix). */ declare const defineChips: (options?: DefineOptions) => string; declare global { /** `document.querySelector("m-…")` and `createElement` return the element's type (the default prefix). */ interface HTMLElementTagNameMap { "m-chips": ChipsElement; "m-chip": HTMLElement & ChipAttributes; } } /** The date picker, with what the element adds to it. */ interface DatepickerElementComponent extends DatePickerComponent { /** Opens the calendar, unless the picker is disabled or read-only. */ show: () => void; } declare const datepickerSpec: { name: string; create: (config: import("./define.js").Config) => DatepickerElementComponent; styles: string[]; hostStyles: string; attributes: { variant: { type: "string"; config: string; }; "selection-mode": { type: "string"; config: string; }; value: { type: "string"; config: string; update: (c: DatepickerElementComponent, v: import("./define.js").AttributeValue) => void; }; min: { type: "string"; config: string; }; max: { type: "string"; config: string; }; "date-format": { type: "string"; config: string; }; locale: { type: "string"; config: string; }; "initial-view": { type: "string"; config: string; }; "close-on-select": { type: "boolean"; config: string; }; label: { type: "string"; config: string; }; "aria-label": { type: "string"; config: string; update: (c: DatepickerElementComponent, v: import("./define.js").AttributeValue) => undefined; }; "supporting-text": { type: "string"; config: string; update: (c: DatepickerElementComponent, v: import("./define.js").AttributeValue) => undefined; }; required: { type: "boolean"; config: string; update: (c: DatepickerElementComponent, v: import("./define.js").AttributeValue) => void; }; disabled: { type: "boolean"; config: string; update: (c: DatepickerElementComponent, v: import("./define.js").AttributeValue) => undefined; }; readonly: { type: "boolean"; config: string; update: (c: DatepickerElementComponent, v: import("./define.js").AttributeValue) => undefined; }; open: { type: "boolean"; update: (c: DatepickerElementComponent, v: import("./define.js").AttributeValue, host: HTMLElement) => void; }; }; properties: { value: { get: (c: DatepickerElementComponent) => string; set: (c: DatepickerElementComponent, value: unknown) => void; }; }; model: "value"; methods: readonly [ "show", "close" ]; events: { change: { detail: (payload: unknown) => { value: string; date: Date | Date[] | null; }; }; open: { detail: () => null; state: true; }; close: { detail: () => null; state: true; }; }; form: { value: (c: DatepickerElementComponent) => string; events: string[]; activate: (c: DatepickerElementComponent) => void; state: (c: DatepickerElementComponent) => string; restore: (c: DatepickerElementComponent, state: string) => void; disable: (c: DatepickerElementComponent, disabled: boolean) => undefined; }; setup: (host: ElementHost, c: DatepickerElementComponent) => () => void; }; declare const datepickerElement: import("./define.js").ElementDefinition; type DatepickerSpec = typeof datepickerSpec; /** `` as a ref or a query returns it. */ type DatepickerElement = ElementInstance; /** Registers `` (or ``). */ declare const defineDatepicker: (options?: DefineOptions) => string; declare global { /** `document.querySelector("m-…")` and `createElement` return the element's type (the default prefix). */ interface HTMLElementTagNameMap { "m-datepicker": DatepickerElement; } } /** The dialog with the `show()` the element names after ``'s. */ interface DialogElementComponent extends DialogComponent { show: () => DialogComponent; } declare const dialogSpec: { name: string; slots: readonly [ "headline", "actions" ]; create: (config: import("./define.js").Config) => DialogElementComponent; styles: string[]; hostStyles: string; attributes: { open: { type: "boolean"; update: (c: DialogElementComponent, v: import("./define.js").AttributeValue) => void; }; headline: { type: "string"; config: string; update: (c: DialogElementComponent, v: import("./define.js").AttributeValue, host: HTMLElement) => void; }; subtitle: { type: "string"; config: string; update: (c: DialogElementComponent, v: import("./define.js").AttributeValue) => void; }; size: { type: "string"; config: string; }; animation: { type: "string"; config: string; }; fullscreen: { type: "boolean"; config: string; }; "close-button": { type: "boolean"; config: string; }; divider: { type: "boolean"; config: string; }; "footer-alignment": { type: "string"; config: string; update: (c: DialogElementComponent, v: import("./define.js").AttributeValue) => void; }; "no-close-on-scrim-click": { type: "boolean"; config: string; }; "no-close-on-escape": { type: "boolean"; config: string; }; "aria-label": { type: "string"; update: (c: DialogElementComponent, _v: import("./define.js").AttributeValue, host: HTMLElement) => void; }; }; methods: readonly [ "show", "close" ]; events: { open: { detail: () => null; state: true; }; close: { detail: () => null; state: true; }; cancel: { detail: () => null; }; }; setup: (host: import("./define.js").ElementHost, component: DialogElementComponent) => () => void; }; declare const dialogElement: import("./define.js").ElementDefinition; type DialogSpec = typeof dialogSpec; /** `` as a ref or a query returns it. */ type DialogElement = ElementInstance; /** Registers `` (or ``). */ declare const defineDialog: (options?: DefineOptions) => string; declare global { /** `document.querySelector("m-…")` and `createElement` return the element's type (the default prefix). */ interface HTMLElementTagNameMap { "m-dialog": DialogElement; } } declare const dividerSpec: { name: string; create: (config: import("./define.js").Config) => DividerComponent; styles: string[]; hostStyles: string; attributes: { orientation: { type: "string"; config: string; update: (c: DividerComponent, v: import("./define.js").AttributeValue) => undefined; }; variant: { type: "string"; config: string; update: (c: DividerComponent, v: import("./define.js").AttributeValue) => undefined; }; "inset-start": { type: "number"; config: string; }; "inset-end": { type: "number"; config: string; }; thickness: { type: "number"; config: string; update: (c: DividerComponent, v: import("./define.js").AttributeValue) => undefined; }; color: { type: "string"; config: string; update: (c: DividerComponent, v: import("./define.js").AttributeValue) => undefined; }; }; }; declare const dividerElement: import("./define.js").ElementDefinition; type DividerSpec = typeof dividerSpec; /** `` as a ref or a query returns it. */ type DividerElement = ElementInstance; /** Registers `` (or ``). */ declare const defineDivider: (options?: DefineOptions) => string; declare global { /** `document.querySelector("m-…")` and `createElement` return the element's type (the default prefix). */ interface HTMLElementTagNameMap { "m-divider": DividerElement; } } declare const drawerSpec: { name: string; create: (config: import("./define.js").Config) => import("../components/drawer/index.js").DrawerComponent; styles: string[]; hostStyles: string; attributes: { value: { type: "string"; update: (c: import("../components/drawer/index.js").DrawerComponent, v: import("./define.js").AttributeValue) => void; }; open: { type: "boolean"; config: string; update: (c: import("../components/drawer/index.js").DrawerComponent, v: import("./define.js").AttributeValue) => undefined; }; modal: { type: "boolean"; config: string; }; headline: { type: "string"; config: string; update: (c: import("../components/drawer/index.js").DrawerComponent, v: import("./define.js").AttributeValue) => undefined; }; position: { type: "string"; config: string; }; width: { type: "string"; config: string; }; dense: { type: "boolean"; config: string; }; "no-close-on-scrim-click": { type: "boolean"; update: () => undefined; }; "no-close-on-escape": { type: "boolean"; update: () => undefined; }; "aria-label": { type: "string"; config: string; update: (c: import("../components/drawer/index.js").DrawerComponent, v: import("./define.js").AttributeValue) => void; }; }; properties: { value: { get: (c: import("../components/drawer/index.js").DrawerComponent) => string | null; set: (c: import("../components/drawer/index.js").DrawerComponent, v: unknown) => void; }; }; model: "value"; methods: readonly [ "expandSection", "collapseSection", "toggleSection", "isSectionExpanded", "getExpandedSections" ]; events: { change: { detail: (payload: unknown) => { value: string; }; }; open: { detail: () => null; state: true; }; close: { detail: () => null; state: true; }; expand: { detail: (payload: unknown) => { value: string; expanded: boolean; }; state: true; }; collapse: { detail: (payload: unknown) => { value: string; expanded: boolean; }; state: true; }; }; config: (host: HTMLElement) => import("./define.js").Config; setup: (host: import("./define.js").ElementHost, component: import("../components/drawer/index.js").DrawerComponent) => () => void; observeChildren: (host: import("./define.js").ElementHost, component: NavigationDrawerComponent) => boolean; }; /** @deprecated use `navigationDrawerElement`. */ declare const drawerElement: import("./define.js").ElementDefinition; /** @deprecated use `NavigationDrawerSpec`. */ type DrawerSpec = typeof drawerSpec; /** @deprecated use `NavigationDrawerElement`. */ interface DrawerElement extends ElementInstance { expandSection(id: string): this; collapseSection(id: string): this; toggleSection(id: string): this; isSectionExpanded(id: string): boolean; getExpandedSections(): string[]; } /** * @deprecated use `navigationDrawerItemDeclaration`. * `` declares one destination, section headline or divider, * and renders nothing. Its text content is the label unless `label` is set. */ declare const drawerItemDeclaration: { readonly name: "drawer-item"; readonly attributes: { readonly type: { readonly type: "string"; }; readonly value: { readonly type: "string"; }; readonly label: { readonly type: "string"; }; /** Markup (HTML). */ readonly icon: { readonly type: "string"; }; /** Markup (HTML). */ readonly "selected-icon": { readonly type: "string"; }; readonly badge: { readonly type: "string"; }; readonly href: { readonly type: "string"; }; readonly expanded: { readonly type: "boolean"; }; readonly disabled: { readonly type: "boolean"; }; }; }; /** @deprecated use `NavigationDrawerItemAttributes`. */ type DrawerItemAttributes = ElementAttributes; /** * @deprecated use `defineNavigationDrawer`. Registers `` and * `` (or with another prefix). */ declare const defineDrawer: (options?: DefineOptions) => string; declare global { /** `document.querySelector("m-…")` and `createElement` return the element's type (the default prefix). */ interface HTMLElementTagNameMap { /** @deprecated use `m-navigation-drawer`. */ "m-drawer": DrawerElement; /** @deprecated use `m-navigation-drawer-item`. */ "m-drawer-item": HTMLElement & DrawerItemAttributes; } } declare const extendedFabSpec: { name: string; create: (config: import("./define.js").Config) => ExtendedFabComponent; styles: string[]; hostStyles: string; attributes: { "aria-label": { type: "string"; config: string; }; "aria-expanded": import("./define.js").AttributeSpec & { type: "string"; }; "aria-haspopup": import("./define.js").AttributeSpec & { type: "string"; }; "aria-pressed": import("./define.js").AttributeSpec & { type: "string"; }; "aria-controls": import("./define.js").AttributeSpec & { type: "string"; }; "aria-describedby": import("./define.js").AttributeSpec & { type: "string"; }; variant: { type: "string"; config: string; }; size: { type: "string"; config: string; }; width: { type: "string"; config: string; }; disabled: { type: "boolean"; config: string; update: (c: ExtendedFabComponent, v: import("./define.js").AttributeValue) => undefined; }; /** Markup (HTML). */ icon: { type: "string"; config: string; update: (c: ExtendedFabComponent, v: import("./define.js").AttributeValue) => undefined; }; "icon-position": { type: "string"; config: string; }; /** @deprecated Physical alias, does not mirror in RTL; removal in 4.0. */ position: { type: "string"; config: string; }; placement: { type: "string"; config: string; }; "collapse-on-scroll": { type: "boolean"; config: string; }; value: { type: "string"; config: string; update: (c: ExtendedFabComponent, v: import("./define.js").AttributeValue) => undefined; }; type: { readonly type: "string"; readonly update: () => undefined; }; }; methods: readonly [ "lower", "raise", "collapse", "expand" ]; events: { collapse: { detail: () => null; }; expand: { detail: () => null; }; }; slot: { attribute: "label"; config: string; }; form: import("./define.js").FormSpec; setup: (host: import("./define.js").ElementHost, component: C) => (() => void); }; declare const extendedFabElement: import("./define.js").ElementDefinition; type ExtendedFabSpec = typeof extendedFabSpec; /** `` as a ref or a query returns it. */ type ExtendedFabElement = ElementInstance; /** Registers `` (or ``). */ declare const defineExtendedFab: (options?: DefineOptions) => string; declare global { /** `document.querySelector("m-…")` and `createElement` return the element's type (the default prefix). */ interface HTMLElementTagNameMap { "m-extended-fab": ExtendedFabElement; } } /** The FAB menu, with the methods the element adds to it. */ type FabMenuElementComponent = FabMenuComponent & { /** Opens the menu. */ show: () => void; /** Closes the menu. */ hide: () => void; }; declare const fabMenuSpec: { name: string; ssr: false; create: (config: Config) => FabMenuElementComponent; styles: string[]; attributes: { open: { type: "boolean"; update: (c: FabMenuElementComponent, v: import("./define.js").AttributeValue) => void; }; /** Markup (HTML). */ icon: { type: "string"; config: string; }; "aria-label": { type: "string"; config: string; update: (c: FabMenuElementComponent, v: import("./define.js").AttributeValue) => void; }; color: { type: "string"; config: string; }; size: { type: "string"; config: string; }; presentation: { type: "string"; config: string; }; placement: { type: "string"; config: string; }; }; methods: readonly [ "show", "hide", "toggle" ]; events: { open: { detail: () => {}; state: true; }; close: { detail: () => {}; state: true; }; select: { detail: (payload: unknown) => { value: string; }; }; }; config: (host: HTMLElement) => Config; setup: (host: import("./define.js").ElementHost, c: FabMenuElementComponent) => void; observeChildren: (host: import("./define.js").ElementHost, c: FabMenuElementComponent) => boolean; }; declare const fabMenuElement: import("./define.js").ElementDefinition; type FabMenuSpec = typeof fabMenuSpec; /** `` as a ref or a query returns it. */ type FabMenuElement = ElementInstance; /** `` declares one action and renders nothing. */ declare const fabMenuItemDeclaration: { readonly name: "fab-menu-item"; readonly attributes: { readonly value: { readonly type: "string"; }; readonly label: { readonly type: "string"; }; /** Markup (HTML). */ readonly icon: { readonly type: "string"; }; }; }; type FabMenuItemAttributes = ElementAttributes; /** Registers `` and `` (or with another prefix). */ declare const defineFabMenu: (options?: DefineOptions) => string; declare global { /** `document.querySelector("m-…")` and `createElement` return the element's type (the default prefix). */ interface HTMLElementTagNameMap { "m-fab-menu": FabMenuElement; "m-fab-menu-item": HTMLElement & FabMenuItemAttributes; } } declare const fabSpec: { name: string; create: (config: import("./define.js").Config) => FabComponent; styles: string[]; hostStyles: string; attributes: { "aria-label": { type: "string"; config: string; }; "aria-expanded": import("./define.js").AttributeSpec & { type: "string"; }; "aria-haspopup": import("./define.js").AttributeSpec & { type: "string"; }; "aria-pressed": import("./define.js").AttributeSpec & { type: "string"; }; "aria-controls": import("./define.js").AttributeSpec & { type: "string"; }; "aria-describedby": import("./define.js").AttributeSpec & { type: "string"; }; variant: { type: "string"; config: string; }; size: { type: "string"; config: string; }; disabled: { type: "boolean"; config: string; update: (c: FabComponent, v: import("./define.js").AttributeValue) => undefined; }; /** Markup (HTML). */ icon: { type: "string"; config: string; update: (c: FabComponent, v: import("./define.js").AttributeValue) => undefined; }; /** @deprecated Physical alias, does not mirror in RTL; removal in 4.0. */ position: { type: "string"; config: string; }; placement: { type: "string"; config: string; }; value: { type: "string"; config: string; update: (c: FabComponent, v: import("./define.js").AttributeValue) => undefined; }; type: { readonly type: "string"; readonly update: () => undefined; }; }; methods: readonly [ "lower", "raise" ]; form: import("./define.js").FormSpec; setup: (host: import("./define.js").ElementHost, component: C) => (() => void); }; declare const fabElement: import("./define.js").ElementDefinition; type FabSpec = typeof fabSpec; /** `` as a ref or a query returns it. */ type FabElement = ElementInstance; /** Registers `` (or ``). */ declare const defineFab: (options?: DefineOptions) => string; declare global { /** `document.querySelector("m-…")` and `createElement` return the element's type (the default prefix). */ interface HTMLElementTagNameMap { "m-fab": FabElement; } } declare const listSpec: { name: string; create: (config: Config) => ListComponent; styles: string[]; hostStyles: string; attributes: { variant: { type: "string"; config: string; }; selection: { type: "string"; config: string; }; value: { type: "string"; config: string; update: (c: ListComponent, v: import("./define.js").AttributeValue) => void; }; disabled: { type: "boolean"; update: (c: ListComponent, _v: import("./define.js").AttributeValue, host: HTMLElement) => undefined; }; "aria-label": { type: "string"; config: string; update: (c: ListComponent, v: import("./define.js").AttributeValue) => void; }; }; properties: { value: { get: (c: ListComponent) => string | null; set: (c: ListComponent, v: unknown) => void; config: string; }; values: { get: (c: ListComponent) => string[]; set: (c: ListComponent, v: unknown) => void; config: string; }; }; model: "value"; defaults: string[]; events: { activate: { detail: (payload: unknown) => { value: string; }; state: true; }; change: { detail: (payload: unknown) => { value: string | null; values: string[]; }; }; }; config: (host: HTMLElement) => Config; setup: (host: ElementHost>, component: ListComponent) => (() => void); observeChildren: (host: HTMLElement, component: ListComponent) => boolean; }; declare const listElement: import("./define.js").ElementDefinition>; type ListSpec = typeof listSpec; /** `` as a ref or a query returns it. */ type ListElement = ElementInstance>; /** `` declares one row and renders nothing. */ declare const listItemDeclaration: { readonly name: "list-item"; readonly attributes: { readonly value: { readonly type: "string"; }; readonly headline: { readonly type: "string"; }; readonly overline: { readonly type: "string"; }; readonly "supporting-text": { readonly type: "string"; }; /** Markup (HTML). */ readonly "leading-icon": { readonly type: "string"; }; /** Markup (HTML), not a person's name or an image URL. */ readonly "leading-avatar": { readonly type: "string"; }; readonly "leading-image": { readonly type: "string"; }; /** Markup (HTML). */ readonly "trailing-icon": { readonly type: "string"; }; readonly "trailing-text": { readonly type: "string"; }; readonly kind: { readonly type: "string"; }; readonly inset: { readonly type: "boolean"; }; readonly disabled: { readonly type: "boolean"; }; readonly selected: { readonly type: "boolean"; }; }; }; type ListItemAttributes = ElementAttributes; /** Registers `` and `` (or with another prefix). */ declare const defineList: (options?: DefineOptions) => string; declare global { /** `document.querySelector("m-…")` and `createElement` return the element's type (the default prefix). */ interface HTMLElementTagNameMap { "m-list": ListElement; "m-list-item": HTMLElement & ListItemAttributes; } } declare const loadingIndicatorSpec: { name: string; create: (config: import("./define.js").Config) => LoadingIndicatorComponent; styles: string[]; hostStyles: string; attributes: { size: { type: "number"; config: string; update: (c: LoadingIndicatorComponent, v: import("./define.js").AttributeValue) => undefined; }; contained: { type: "boolean"; config: string; }; value: { type: "number"; config: string; update: (c: LoadingIndicatorComponent, v: import("./define.js").AttributeValue) => undefined; }; "aria-label": { type: "string"; config: string; update: (c: LoadingIndicatorComponent, v: import("./define.js").AttributeValue) => undefined; }; }; methods: readonly [ "start", "stop" ]; }; declare const loadingIndicatorElement: import("./define.js").ElementDefinition; type LoadingIndicatorSpec = typeof loadingIndicatorSpec; /** `` as a ref or a query returns it. */ type LoadingIndicatorElement = ElementInstance; /** Registers `` (or ``). */ declare const defineLoadingIndicator: (options?: DefineOptions) => string; declare global { /** `document.querySelector("m-…")` and `createElement` return the element's type (the default prefix). */ interface HTMLElementTagNameMap { "m-loading-indicator": LoadingIndicatorElement; } } /** The menu, with the methods the element adds to it. */ type MenuElementComponent = MenuComponent & { /** Opens the menu. */ show: () => void; /** Closes the menu. */ hide: () => void; }; /** An anchor as a property takes it: an element, or an id. */ type MenuAnchor = HTMLElement | string | null; declare const declaredMenuItems: (parent: Element, tag: string) => MenuContent[]; declare const menuSpec: { name: string; ssr: (host: HTMLElement) => boolean; create: (config: Config) => MenuElementComponent; styles: string[]; hostStyles: string; attributes: { open: { type: "boolean"; update: (c: MenuElementComponent, v: import("./define.js").AttributeValue) => void; }; anchor: { type: "string"; config: string; update: (c: MenuElementComponent, v: import("./define.js").AttributeValue) => void; }; position: { type: "string"; config: string; update: (c: MenuElementComponent, v: import("./define.js").AttributeValue) => undefined; }; offset: { type: "number"; config: string; }; variant: { type: "string"; config: string; }; color: { type: "string"; config: string; }; "no-close-on-select": { type: "boolean"; config: string; }; /** @deprecated See MenuConfig.dense; the dense variant is removed in 4.0. */ dense: { type: "boolean"; config: string; }; "max-height": { type: "string"; config: string; update: (c: MenuElementComponent, v: import("./define.js").AttributeValue) => undefined; }; "aria-label": { type: "string"; update: (c: MenuElementComponent, v: import("./define.js").AttributeValue) => void; }; }; properties: { anchor: { get: (c: MenuElementComponent) => HTMLElement | null; set: (c: MenuElementComponent, v: unknown) => void; config: string; }; }; methods: readonly [ "show", "hide", "toggle" ]; events: { open: { detail: () => {}; state: true; }; close: { detail: () => {}; state: true; }; select: { detail: (payload: unknown) => { value: string; }; }; }; config: (host: HTMLElement) => Config; setup: (host: import("./define.js").ElementHost, c: MenuElementComponent) => () => void; observeChildren: (host: HTMLElement, c: MenuComponent) => boolean; }; declare const menuElement: import("./define.js").ElementDefinition; type MenuSpec = typeof menuSpec; /** `` as a ref or a query returns it. */ type MenuElement = ElementInstance; /** `` declares one item and renders nothing. */ declare const menuItemDeclaration: { readonly name: "menu-item"; readonly attributes: { readonly value: { readonly type: "string"; }; readonly label: { readonly type: "string"; }; /** Markup (HTML). */ readonly icon: { readonly type: "string"; }; readonly shortcut: { readonly type: "string"; }; readonly "supporting-text": { readonly type: "string"; }; readonly disabled: { readonly type: "boolean"; }; readonly divider: { readonly type: "boolean"; }; readonly gap: { readonly type: "boolean"; }; }; }; type MenuItemAttributes = ElementAttributes; declare const defineMenuItem: (options?: DefineOptions) => void; /** Registers `` and `` (or with another prefix). */ declare const defineMenu: (options?: DefineOptions) => string; declare global { /** `document.querySelector("m-…")` and `createElement` return the element's type (the default prefix). */ interface HTMLElementTagNameMap { "m-menu": MenuElement; "m-menu-item": HTMLElement & MenuItemAttributes; } } declare const navigationBarSpec: { name: string; create: (config: Config) => NavigationBarComponent; styles: string[]; hostStyles: string; attributes: { value: { type: "string"; update: (c: NavigationBarComponent, v: import("./define.js").AttributeValue) => undefined; }; "item-layout": { type: "string"; config: string; }; "hide-on-scroll": { type: "boolean"; config: string; }; "no-ripple": { type: "boolean"; }; "aria-label": { type: "string"; config: string; update: (c: NavigationBarComponent, v: import("./define.js").AttributeValue) => undefined; }; }; properties: { value: { get: (c: NavigationBarComponent) => string | null; set: (c: NavigationBarComponent, v: unknown) => undefined; }; }; methods: readonly [ "hide", "show" ]; model: "value"; events: { change: { detail: (payload: unknown) => { value: string; }; }; visibility: { detail: (payload: unknown) => { hidden: boolean; }; state: true; }; }; config: (host: HTMLElement) => Config; setup: (host: ElementHost, component: NavigationBarComponent) => () => NavigationBarComponent; observeChildren: (host: ElementHost, component: NavigationBarComponent) => boolean; }; declare const navigationBarElement: import("./define.js").ElementDefinition; type NavigationBarSpec = typeof navigationBarSpec; /** `` as a ref or a query returns it. */ type NavigationBarElement = ElementInstance; /** `` declares one destination and renders nothing. */ declare const navigationBarItemDeclaration: { readonly name: "navigation-bar-item"; readonly attributes: { readonly value: { readonly type: "string"; }; readonly label: { readonly type: "string"; }; /** Markup (HTML). */ readonly icon: { readonly type: "string"; }; /** Markup (HTML). */ readonly "selected-icon": { readonly type: "string"; }; readonly href: { readonly type: "string"; }; readonly badge: { readonly type: "string"; }; readonly "badge-label": { readonly type: "string"; }; readonly disabled: { readonly type: "boolean"; }; }; }; type NavigationBarItemAttributes = ElementAttributes; /** Registers `` and `` (or with another prefix). */ declare const defineNavigationBar: (options?: DefineOptions) => string; declare global { interface HTMLElementTagNameMap { "m-navigation-bar": NavigationBarElement; "m-navigation-bar-item": HTMLElement & NavigationBarItemAttributes; } } declare const createDrawerSpec: (name: string) => { name: string; create: (config: Config) => import("../components/drawer/index.js").DrawerComponent; styles: string[]; hostStyles: string; attributes: { value: { type: "string"; update: (c: import("../components/drawer/index.js").DrawerComponent, v: import("./define.js").AttributeValue) => void; }; open: { type: "boolean"; config: string; update: (c: import("../components/drawer/index.js").DrawerComponent, v: import("./define.js").AttributeValue) => undefined; }; modal: { type: "boolean"; config: string; }; headline: { type: "string"; config: string; update: (c: import("../components/drawer/index.js").DrawerComponent, v: import("./define.js").AttributeValue) => undefined; }; position: { type: "string"; config: string; }; width: { type: "string"; config: string; }; dense: { type: "boolean"; config: string; }; "no-close-on-scrim-click": { type: "boolean"; update: () => undefined; }; "no-close-on-escape": { type: "boolean"; update: () => undefined; }; "aria-label": { type: "string"; config: string; update: (c: import("../components/drawer/index.js").DrawerComponent, v: import("./define.js").AttributeValue) => void; }; }; properties: { value: { get: (c: import("../components/drawer/index.js").DrawerComponent) => string | null; set: (c: import("../components/drawer/index.js").DrawerComponent, v: unknown) => void; }; }; model: "value"; methods: readonly [ "expandSection", "collapseSection", "toggleSection", "isSectionExpanded", "getExpandedSections" ]; events: { change: { detail: (payload: unknown) => { value: string; }; }; open: { detail: () => null; state: true; }; close: { detail: () => null; state: true; }; expand: { detail: (payload: unknown) => { value: string; expanded: boolean; }; state: true; }; collapse: { detail: (payload: unknown) => { value: string; expanded: boolean; }; state: true; }; }; config: (host: HTMLElement) => Config; setup: (host: ElementHost, component: import("../components/drawer/index.js").DrawerComponent) => () => void; observeChildren: (host: ElementHost, component: NavigationDrawerComponent) => boolean; }; declare const navigationDrawerSpec: { name: string; create: (config: Config) => import("../components/drawer/index.js").DrawerComponent; styles: string[]; hostStyles: string; attributes: { value: { type: "string"; update: (c: import("../components/drawer/index.js").DrawerComponent, v: import("./define.js").AttributeValue) => void; }; open: { type: "boolean"; config: string; update: (c: import("../components/drawer/index.js").DrawerComponent, v: import("./define.js").AttributeValue) => undefined; }; modal: { type: "boolean"; config: string; }; headline: { type: "string"; config: string; update: (c: import("../components/drawer/index.js").DrawerComponent, v: import("./define.js").AttributeValue) => undefined; }; position: { type: "string"; config: string; }; width: { type: "string"; config: string; }; dense: { type: "boolean"; config: string; }; "no-close-on-scrim-click": { type: "boolean"; update: () => undefined; }; "no-close-on-escape": { type: "boolean"; update: () => undefined; }; "aria-label": { type: "string"; config: string; update: (c: import("../components/drawer/index.js").DrawerComponent, v: import("./define.js").AttributeValue) => void; }; }; properties: { value: { get: (c: import("../components/drawer/index.js").DrawerComponent) => string | null; set: (c: import("../components/drawer/index.js").DrawerComponent, v: unknown) => void; }; }; model: "value"; methods: readonly [ "expandSection", "collapseSection", "toggleSection", "isSectionExpanded", "getExpandedSections" ]; events: { change: { detail: (payload: unknown) => { value: string; }; }; open: { detail: () => null; state: true; }; close: { detail: () => null; state: true; }; expand: { detail: (payload: unknown) => { value: string; expanded: boolean; }; state: true; }; collapse: { detail: (payload: unknown) => { value: string; expanded: boolean; }; state: true; }; }; config: (host: HTMLElement) => Config; setup: (host: ElementHost, component: import("../components/drawer/index.js").DrawerComponent) => () => void; observeChildren: (host: ElementHost, component: NavigationDrawerComponent) => boolean; }; declare const navigationDrawerElement: import("./define.js").ElementDefinition; type NavigationDrawerSpec = typeof navigationDrawerSpec; /** `` as a ref or a query returns it. */ interface NavigationDrawerElement extends ElementInstance { expandSection(id: string): this; collapseSection(id: string): this; toggleSection(id: string): this; isSectionExpanded(id: string): boolean; getExpandedSections(): string[]; } /** `` (formerly ``) declares one destination, section headline or divider, and renders nothing. */ declare const navigationDrawerItemDeclaration: { readonly name: "navigation-drawer-item"; readonly attributes: { readonly type: { readonly type: "string"; }; readonly value: { readonly type: "string"; }; readonly label: { readonly type: "string"; }; /** Markup (HTML). */ readonly icon: { readonly type: "string"; }; /** Markup (HTML). */ readonly "selected-icon": { readonly type: "string"; }; readonly badge: { readonly type: "string"; }; readonly href: { readonly type: "string"; }; readonly expanded: { readonly type: "boolean"; }; readonly disabled: { readonly type: "boolean"; }; }; }; type NavigationDrawerItemAttributes = ElementAttributes; /** Registers `` and `` (or with another prefix). */ declare const defineNavigationDrawer: (options?: DefineOptions) => string; declare global { /** `document.querySelector("m-…")` and `createElement` return the element's type (the default prefix). */ interface HTMLElementTagNameMap { "m-navigation-drawer": NavigationDrawerElement; "m-navigation-drawer-item": HTMLElement & NavigationDrawerItemAttributes; } } declare const declaredItems: (host: HTMLElement, active: string | null) => NavigationRailItemConfig[]; declare const navigationRailSpec: { name: string; slots: readonly [ "header" ]; create: (config: Config) => NavigationRailComponent; styles: string[]; hostStyles: string; attributes: { value: { type: "string"; update: (c: NavigationRailComponent, v: import("./define.js").AttributeValue) => undefined; }; expanded: { type: "boolean"; config: string; update: (c: NavigationRailComponent, v: import("./define.js").AttributeValue) => undefined; }; "hide-when-collapsed": { type: "boolean"; config: string; }; layout: { type: "string"; config: string; }; "expanded-width": { type: "number"; config: string; }; "no-toggle": { type: "boolean"; }; "no-ripple": { type: "boolean"; }; "expand-label": { type: "string"; config: string; }; "collapse-label": { type: "string"; config: string; }; /** Markup (HTML). */ "expand-icon": { type: "string"; config: string; }; /** Markup (HTML). */ "collapse-icon": { type: "string"; config: string; }; "aria-label": { type: "string"; config: string; update: (c: NavigationRailComponent, v: import("./define.js").AttributeValue) => void; }; }; properties: { value: { get: (c: NavigationRailComponent) => string | null; set: (c: NavigationRailComponent, v: unknown) => undefined; }; }; methods: readonly [ "expand", "collapse", "toggle" ]; model: "value"; events: { change: { detail: (payload: unknown) => { value: string; }; }; expand: { detail: () => null; state: true; }; collapse: { detail: () => null; state: true; }; }; config: (host: HTMLElement) => { host: HTMLElement; }; setup: (host: ElementHost, component: NavigationRailComponent) => () => NavigationRailComponent; observeChildren: (host: ElementHost, component: NavigationRailComponent) => boolean; }; declare const navigationRailElement: import("./define.js").ElementDefinition; type NavigationRailSpec = typeof navigationRailSpec; /** `` as a ref or a query returns it. */ type NavigationRailElement = ElementInstance; /** `` declares one destination and renders nothing. */ declare const navigationRailItemDeclaration: { readonly name: "navigation-rail-item"; readonly attributes: { readonly value: { readonly type: "string"; }; readonly label: { readonly type: "string"; }; /** Markup (HTML). */ readonly icon: { readonly type: "string"; }; /** Markup (HTML). */ readonly "selected-icon": { readonly type: "string"; }; readonly href: { readonly type: "string"; }; readonly badge: { readonly type: "string"; }; readonly "badge-label": { readonly type: "string"; }; readonly disabled: { readonly type: "boolean"; }; }; }; type NavigationRailItemAttributes = ElementAttributes; /** Registers `` and `` (or with another prefix). */ declare const defineNavigationRail: (options?: DefineOptions) => string; declare global { /** `document.querySelector("m-…")` and `createElement` return the element's type (the default prefix). */ interface HTMLElementTagNameMap { "m-navigation-rail": NavigationRailElement; "m-navigation-rail-item": HTMLElement & NavigationRailItemAttributes; } } declare const progressSpec: { name: string; create: (config: import("./define.js").Config) => ProgressComponent; styles: string[]; hostStyles: string; attributes: { variant: { type: "string"; config: string; }; value: { type: "number"; config: string; update: (c: ProgressComponent, v: import("./define.js").AttributeValue) => undefined; }; max: { type: "number"; config: string; }; buffer: { type: "number"; config: string; update: (c: ProgressComponent, v: import("./define.js").AttributeValue) => undefined; }; indeterminate: { type: "boolean"; config: string; update: (c: ProgressComponent, v: import("./define.js").AttributeValue) => undefined; }; disabled: { type: "boolean"; config: string; update: (c: ProgressComponent, v: import("./define.js").AttributeValue) => undefined; }; shape: { type: "string"; config: string; update: (c: ProgressComponent, v: import("./define.js").AttributeValue) => undefined; }; thickness: { type: "string"; config: string; update: (c: ProgressComponent, v: import("./define.js").AttributeValue) => undefined; }; size: { type: "number"; config: string; }; "show-label": { type: "boolean"; config: string; update: (c: ProgressComponent, v: import("./define.js").AttributeValue) => undefined; }; "aria-label": { type: "string"; config: string; }; }; properties: { value: { get: (c: ProgressComponent) => number; set: (c: ProgressComponent, v: unknown) => undefined; config: string; }; indeterminate: { get: (c: ProgressComponent) => boolean; set: (c: ProgressComponent, v: unknown) => undefined; config: string; }; }; }; declare const progressElement: import("./define.js").ElementDefinition; type ProgressSpec = typeof progressSpec; /** `` as a ref or a query returns it. */ type ProgressElement = ElementInstance; /** Registers `` (or ``). */ declare const defineProgress: (options?: DefineOptions) => string; declare global { /** `document.querySelector("m-…")` and `createElement` return the element's type (the default prefix). */ interface HTMLElementTagNameMap { "m-progress": ProgressElement; } } declare const radiosSpec: { name: string; create: (config: Config) => RadiosComponent; styles: string[]; hostStyles: string; attributes: { value: { type: "string"; config: string; update: (c: RadiosComponent, v: import("./define.js").AttributeValue) => void; }; disabled: { type: "boolean"; config: string; update: (c: RadiosComponent, v: import("./define.js").AttributeValue) => undefined; }; required: { type: "boolean"; config: string; update: (c: RadiosComponent, v: import("./define.js").AttributeValue) => void; }; direction: { type: "string"; config: string; }; "aria-label": { type: "string"; config: string; update: (c: RadiosComponent, v: import("./define.js").AttributeValue) => void; }; }; properties: { value: { get: (c: RadiosComponent) => string | null; set: (c: RadiosComponent, v: unknown) => void; config: string; }; }; model: "value"; events: { change: { detail: (payload: unknown) => { value: string | null; }; }; }; form: { value: (c: RadiosComponent) => string | null; control: (component: RadiosComponent) => HTMLInputElement | null; events: string[]; activate: (c: RadiosComponent) => void | undefined; state: (c: RadiosComponent) => string; restore: (c: RadiosComponent, state: string) => void; disable: (c: RadiosComponent, disabled: boolean) => undefined; }; config: (host: HTMLElement) => Config; setup: (host: ElementHost, c: RadiosComponent) => void; observeChildren: (host: ElementHost, component: RadiosComponent) => boolean; }; declare const radiosElement: import("./define.js").ElementDefinition; type RadiosSpec = typeof radiosSpec; /** `` as a ref or a query returns it. */ type RadiosElement = ElementInstance; /** `` declares one radio and renders nothing. */ declare const radioDeclaration: { readonly name: "radio"; readonly attributes: { readonly value: { readonly type: "string"; }; readonly label: { readonly type: "string"; }; readonly disabled: { readonly type: "boolean"; }; }; }; type RadioAttributes = ElementAttributes; /** Registers `` and `` (or with another prefix). */ declare const defineRadios: (options?: DefineOptions) => string; declare global { /** `document.querySelector("m-…")` and `createElement` return the element's type (the default prefix). */ interface HTMLElementTagNameMap { "m-radios": RadiosElement; "m-radio": HTMLElement & RadioAttributes; } } /** The factory's events, and the element's own names for four of them. */ interface SearchElementEvents extends SearchEvents { change: SearchEvents["submit"]; select: SearchEvents["suggestionSelect"]; open: SearchEvents["expand"]; close: SearchEvents["collapse"]; } /** The search, with the element's events, methods and input. */ interface SearchElementComponent extends Omit { /** Subscribes by the element's event names (`open`, `select`…) as well as the factory's. */ on: (event: K, handler: SearchElementEvents[K]) => SearchElementComponent; off: (event: K, handler: SearchElementEvents[K]) => SearchElementComponent; /** Opens the view. */ show: () => SearchElementComponent; /** Closes the view. */ close: () => SearchElementComponent; /** The combobox. */ input: HTMLInputElement; } declare const searchSpec: { name: string; create: (config: Config) => SearchElementComponent; styles: string[]; hostStyles: string; attributes: { placeholder: { type: "string"; config: string; update: (c: SearchElementComponent, v: AttributeValue, host: HTMLElement) => void; }; value: { type: "string"; config: string; update: (c: SearchElementComponent, v: AttributeValue) => void; }; variant: { type: "string"; config: string; update: (c: SearchElementComponent, v: AttributeValue) => undefined; }; "view-mode": { type: "string"; config: string; update: (c: SearchElementComponent, v: AttributeValue) => undefined; }; "min-width": { type: "string"; config: string; update: (c: SearchElementComponent, v: AttributeValue) => void; }; "max-width": { type: "string"; config: string; update: (c: SearchElementComponent, v: AttributeValue) => void; }; "no-clear-button": { type: "boolean"; config: string; }; "no-expand-on-focus": { type: "boolean"; config: string; }; "no-collapse-on-blur": { type: "boolean"; config: string; }; "full-width": { type: "boolean"; config: string; update: (c: SearchElementComponent, v: AttributeValue) => undefined; }; /** Markup (HTML). */ "leading-icon": { type: "string"; config: string; }; /** Markup (HTML). */ "trailing-icon": { type: "string"; config: string; }; "trailing-label": { type: "string"; config: string; }; /** Markup (HTML), not a person's name or an image URL. */ avatar: { type: "string"; config: string; }; "avatar-label": { type: "string"; config: string; }; open: { type: "boolean"; config: string; update: (c: SearchElementComponent, v: AttributeValue) => void; }; disabled: { type: "boolean"; config: string; update: (c: SearchElementComponent, v: AttributeValue) => void; }; "aria-label": { type: "string"; config: string; update: (c: SearchElementComponent, v: AttributeValue) => void; }; }; properties: { value: { get: (c: SearchElementComponent) => string; set: (c: SearchElementComponent, value: unknown) => void; }; }; methods: readonly [ "show", "close", "focus" ]; model: "value"; events: { input: { detail: (payload: unknown) => { value: string; }; }; change: { detail: (payload: unknown) => { value: string; }; }; select: { detail: (payload: unknown) => { value: string; }; }; open: { detail: () => null; state: true; }; close: { detail: () => null; state: true; }; action: { detail: (payload: unknown) => { value: string; }; }; }; form: { value: (c: SearchElementComponent) => string; control: (c: SearchElementComponent) => HTMLInputElement; activate: (c: SearchElementComponent) => undefined; state: (c: SearchElementComponent) => string; restore: (c: SearchElementComponent, state: string) => void; disable: (c: SearchElementComponent, disabled: boolean) => void; }; config: (host: HTMLElement) => Config; setup: (host: import("./define.js").ElementHost, c: SearchElementComponent) => () => void; observeChildren: (host: HTMLElement, c: SearchElementComponent) => boolean; }; declare const searchElement: import("./define.js").ElementDefinition; type SearchSpec = typeof searchSpec; /** `` as a ref or a query returns it. */ type SearchElement = ElementInstance; /** `` declares one suggestion and renders nothing. */ declare const searchSuggestionDeclaration: { readonly name: "search-suggestion"; readonly attributes: { readonly value: { readonly type: "string"; }; readonly label: { readonly type: "string"; }; /** Markup (HTML). */ readonly icon: { readonly type: "string"; }; readonly group: { readonly type: "string"; }; }; }; type SearchSuggestionAttributes = ElementAttributes; /** Registers `` and `` (or with another prefix). */ declare const defineSearch: (options?: DefineOptions) => string; declare global { /** `document.querySelector("m-…")` and `createElement` return the element's type (the default prefix). */ interface HTMLElementTagNameMap { "m-search": SearchElement; "m-search-suggestion": HTMLElement & SearchSuggestionAttributes; } } declare const selectSpec: { name: string; create: (config: Config) => SelectComponent; styles: string[]; hostStyles: string; attributes: { variant: { type: "string"; config: string; update: (c: SelectComponent, v: AttributeValue) => undefined; }; density: { type: "string"; config: string; update: (c: SelectComponent, v: AttributeValue) => undefined; }; label: { type: "string"; config: string; }; value: { type: "string"; config: string; update: (c: SelectComponent, v: AttributeValue) => void; }; placement: { type: "string"; config: string; update: (c: SelectComponent, v: AttributeValue) => undefined; }; "supporting-text": { type: "string"; config: string; update: (c: SelectComponent, v: AttributeValue) => void; }; required: { type: "boolean"; config: string; update: (c: SelectComponent, v: AttributeValue) => void; }; disabled: { type: "boolean"; config: string; update: (c: SelectComponent, v: AttributeValue) => undefined; }; error: { type: "boolean"; config: string; update: (c: SelectComponent, v: AttributeValue) => undefined; }; "aria-label": { type: "string"; config: string; update: (c: SelectComponent, v: AttributeValue) => void; }; }; properties: { value: { get: (c: SelectComponent) => string | null; set: (c: SelectComponent, value: unknown) => void; }; }; model: "value"; events: { change: { detail: (payload: unknown) => { value: string | null; }; }; }; form: { value: (c: SelectComponent) => string | null; events: string[]; activate: (c: SelectComponent) => void; state: (c: SelectComponent) => string; restore: (c: SelectComponent, state: string) => void; disable: (c: SelectComponent, disabled: boolean) => undefined; }; config: (host: HTMLElement) => Config; setup: (host: ElementHost, c: SelectComponent) => () => undefined; observeChildren: (host: HTMLElement, c: SelectComponent) => boolean; }; declare const selectElement: import("./define.js").ElementDefinition; type SelectSpec = typeof selectSpec; /** `` as a ref or a query returns it. */ type SelectElement = ElementInstance; /** `` declares one option and renders nothing. */ declare const selectOptionDeclaration: { readonly name: "select-option"; readonly attributes: { readonly value: { readonly type: "string"; }; readonly label: { readonly type: "string"; }; /** Markup (HTML). */ readonly icon: { readonly type: "string"; }; readonly disabled: { readonly type: "boolean"; }; }; }; type SelectOptionAttributes = ElementAttributes; /** Registers `` and `` (or with another prefix). */ declare const defineSelect: (options?: DefineOptions) => string; declare global { /** `document.querySelector("m-…")` and `createElement` return the element's type (the default prefix). */ interface HTMLElementTagNameMap { "m-select": SelectElement; "m-select-option": HTMLElement & SelectOptionAttributes; } } /** The sheet with the `show()` the element names after ``'s. */ interface SideSheetElementComponent extends SideSheetComponent { show: () => SideSheetComponent; } declare const sideSheetSpec: { name: string; slots: readonly [ "headline" ]; create: (config: import("./define.js").Config) => SideSheetElementComponent; styles: string[]; hostStyles: string; attributes: { open: { type: "boolean"; update: (c: SideSheetElementComponent, v: import("./define.js").AttributeValue) => void; }; modal: { type: "boolean"; config: string; }; variant: { type: "string"; }; headline: { type: "string"; config: string; update: (c: SideSheetElementComponent, v: import("./define.js").AttributeValue, host: HTMLElement) => void; }; position: { type: "string"; config: string; }; width: { type: "number"; config: string; }; "no-close-button": { type: "boolean"; config: string; }; "no-close-on-scrim-click": { type: "boolean"; config: string; }; "no-close-on-escape": { type: "boolean"; config: string; }; "aria-label": { type: "string"; update: (c: SideSheetElementComponent, _v: import("./define.js").AttributeValue, host: HTMLElement) => void; }; }; methods: readonly [ "show", "close" ]; events: { open: { detail: () => null; state: true; }; close: { detail: () => null; state: true; }; }; config: (host: HTMLElement) => { host: HTMLElement; }; setup: (host: import("./define.js").ElementHost, component: SideSheetElementComponent) => () => void; }; declare const sideSheetElement: import("./define.js").ElementDefinition; type SideSheetSpec = typeof sideSheetSpec; /** `` as a ref or a query returns it. */ type SideSheetElement = ElementInstance; /** Registers `` (or ``). */ declare const defineSideSheet: (options?: DefineOptions) => string; declare global { /** `document.querySelector("m-…")` and `createElement` return the element's type (the default prefix). */ interface HTMLElementTagNameMap { "m-side-sheet": SideSheetElement; } } declare const sliderSpec: { name: string; create: (config: import("./define.js").Config) => SliderComponent; styles: string[]; hostStyles: string; attributes: { value: { type: "number"; config: string; update: (c: SliderComponent, v: import("./define.js").AttributeValue) => undefined; }; "second-value": { type: "number"; config: string; update: (c: SliderComponent, v: import("./define.js").AttributeValue) => undefined; }; min: { type: "number"; config: string; update: (c: SliderComponent, v: import("./define.js").AttributeValue) => undefined; }; max: { type: "number"; config: string; update: (c: SliderComponent, v: import("./define.js").AttributeValue) => undefined; }; step: { type: "number"; config: string; update: (c: SliderComponent, v: import("./define.js").AttributeValue) => undefined; }; disabled: { type: "boolean"; config: string; update: (c: SliderComponent, v: import("./define.js").AttributeValue) => undefined; }; range: { type: "boolean"; config: string; }; centered: { type: "boolean"; config: string; }; ticks: { type: "boolean"; config: string; update: (c: SliderComponent, v: import("./define.js").AttributeValue) => undefined; }; "show-value": { type: "boolean"; config: string; update: (c: SliderComponent, v: import("./define.js").AttributeValue) => undefined; }; color: { type: "string"; config: string; update: (c: SliderComponent, v: import("./define.js").AttributeValue) => undefined; }; size: { type: "string"; config: string; update: (c: SliderComponent, v: import("./define.js").AttributeValue) => undefined; }; orientation: { type: "string"; config: string; }; "top-to-bottom": { type: "boolean"; config: string; }; label: { type: "string"; config: string; }; "label-position": { type: "string"; config: string; }; /** Markup (HTML). */ icon: { type: "string"; config: string; }; "icon-position": { type: "string"; config: string; }; /** Markup (HTML). */ "inset-icon": { type: "string"; config: string; update: (c: SliderComponent, _v: import("./define.js").AttributeValue, host: HTMLElement) => undefined; }; /** Markup (HTML). */ "inset-icon-at-min": { type: "string"; config: string; update: (c: SliderComponent, _v: import("./define.js").AttributeValue, host: HTMLElement) => undefined; }; "aria-label": { type: "string"; update: (c: SliderComponent, _v: import("./define.js").AttributeValue, host: HTMLElement) => void; }; }; properties: { value: { get: (c: SliderComponent) => number; set: (c: SliderComponent, v: unknown) => void; config: string; }; secondValue: { get: (c: SliderComponent) => number | null; set: (c: SliderComponent, v: unknown) => void; }; }; model: "value"; defaults: readonly [ "secondValue" ]; events: { input: { detail: (payload: unknown) => { value: number; secondValue?: number; }; }; change: { detail: (payload: unknown) => { value: number; secondValue?: number; }; }; }; form: { value: (c: SliderComponent, host: HTMLElement) => string | FormData | null; events: string[]; state: (c: SliderComponent) => string; restore: (c: SliderComponent, state: string) => void; disable: (c: SliderComponent, disabled: boolean) => undefined; }; setup: (host: import("./define.js").ElementHost, component: SliderComponent) => void; }; declare const sliderElement: import("./define.js").ElementDefinition; type SliderSpec = typeof sliderSpec; /** `` as a ref or a query returns it. */ type SliderElement = ElementInstance; /** Registers `` (or ``). */ declare const defineSlider: (options?: DefineOptions) => string; declare global { /** `document.querySelector("m-…")` and `createElement` return the element's type (the default prefix). */ interface HTMLElementTagNameMap { "m-slider": SliderElement; } } declare const snackbarSpec: { name: string; create: (config: import("./define.js").Config) => SnackbarComponent; styles: string[]; hostStyles: string; attributes: { message: { type: "string"; config: string; update: (c: SnackbarComponent, _v: import("./define.js").AttributeValue, host: HTMLElement) => undefined; }; action: { type: "string"; config: string; }; dismissible: { type: "boolean"; config: string; }; "close-label": { type: "string"; config: string; }; duration: { type: "string"; config: string; update: (c: SnackbarComponent, v: import("./define.js").AttributeValue) => undefined; }; position: { type: "string"; config: string; update: (c: SnackbarComponent, v: import("./define.js").AttributeValue) => undefined; }; "queue-behavior": { type: "string"; config: string; }; "focus-shortcut": { type: "string"; config: string; }; }; properties: { open: { get: (c: SnackbarComponent) => boolean; set: (c: SnackbarComponent, v: unknown) => undefined; }; }; methods: readonly [ "show", "hide" ]; events: { open: { detail: () => null; state: true; }; action: { detail: () => null; }; close: { detail: (event: unknown) => { reason: import("../components/snackbar/index.js").SnackbarCloseReason | undefined; }; state: true; }; focus: { detail: () => null; }; }; config: (host: HTMLElement) => { message?: undefined; } | { message: string; }; setup: (host: import("./define.js").ElementHost, component: SnackbarComponent) => void; observeChildren: (host: import("./define.js").ElementHost, component: SnackbarComponent) => true; }; declare const snackbarElement: import("./define.js").ElementDefinition; type SnackbarSpec = typeof snackbarSpec; /** `` as a ref or a query returns it. */ type SnackbarElement = ElementInstance; /** Registers `` (or ``). */ declare const defineSnackbar: (options?: DefineOptions) => string; declare global { /** `document.querySelector("m-…")` and `createElement` return the element's type (the default prefix). */ interface HTMLElementTagNameMap { "m-snackbar": SnackbarElement; } } /** The factory's events, and the element's own names for two of them. */ type SplitButtonElementEventType = SplitButtonEventType | "open" | "close"; /** The split button, with the element's events. */ interface SplitButtonElementComponent extends Omit { /** Subscribes by the element's event names (`open`, `close`) as well as the factory's. */ on: (event: SplitButtonElementEventType, handler: (event: SplitButtonEvent) => void) => SplitButtonElementComponent; off: (event: SplitButtonElementEventType, handler: (event: SplitButtonEvent) => void) => SplitButtonElementComponent; } declare const splitButtonSpec: { name: string; ssr: (host: HTMLElement) => boolean; create: (config: Config) => SplitButtonElementComponent; styles: string[]; hostStyles: string; attributes: { "aria-label": { type: "string"; config: string; update: (c: SplitButtonElementComponent, v: import("./define.js").AttributeValue) => void; }; "aria-expanded": import("./define.js").AttributeSpec & { type: "string"; }; "aria-haspopup": import("./define.js").AttributeSpec & { type: "string"; }; "aria-pressed": import("./define.js").AttributeSpec & { type: "string"; }; "aria-controls": import("./define.js").AttributeSpec & { type: "string"; }; "aria-describedby": import("./define.js").AttributeSpec & { type: "string"; }; label: { type: "string"; update: (c: SplitButtonElementComponent, _v: import("./define.js").AttributeValue, host: HTMLElement) => undefined; }; /** Markup (HTML). */ icon: { type: "string"; config: string; update: (c: SplitButtonElementComponent, v: import("./define.js").AttributeValue) => undefined; }; variant: { type: "string"; config: string; }; size: { type: "string"; config: string; }; disabled: { type: "boolean"; config: string; update: (c: SplitButtonElementComponent, v: import("./define.js").AttributeValue) => undefined; }; "trailing-label": { type: "string"; config: string; }; "group-label": { type: "string"; config: string; }; }; events: { open: { detail: () => {}; state: true; }; close: { detail: () => {}; state: true; }; select: { detail: (payload: unknown) => { value: string | null; }; }; }; config: (host: HTMLElement) => Config; setup: (host: import("./define.js").ElementHost, c: SplitButtonElementComponent) => () => void; observeChildren: (host: HTMLElement, c: SplitButtonElementComponent) => boolean; }; declare const splitButtonElement: import("./define.js").ElementDefinition; type SplitButtonSpec = typeof splitButtonSpec; /** `` as a ref or a query returns it. */ type SplitButtonElement = ElementInstance; /** Registers `` and `` (or with another prefix). */ declare const defineSplitButton: (options?: DefineOptions) => string; declare global { /** `document.querySelector("m-…")` and `createElement` return the element's type (the default prefix). */ interface HTMLElementTagNameMap { "m-split-button": SplitButtonElement; } } declare const switchSpec: { name: string; create: (config: import("./define.js").Config) => SwitchComponent; styles: string[]; hostStyles: string; attributes: { checked: { type: "boolean"; config: string; update: (c: SwitchComponent, v: import("./define.js").AttributeValue) => undefined; }; disabled: { type: "boolean"; config: string; update: (c: SwitchComponent, v: import("./define.js").AttributeValue) => undefined; }; required: { type: "boolean"; config: string; }; "aria-label": { type: "string"; config: string; }; value: { type: "string"; config: string; update: (c: SwitchComponent, v: import("./define.js").AttributeValue) => undefined; }; /** Markup (HTML). */ icon: { type: "string"; config: string; }; error: { type: "boolean"; config: string; update: (c: SwitchComponent, v: import("./define.js").AttributeValue) => undefined; }; "supporting-text": { type: "string"; config: string; update: (c: SwitchComponent, v: import("./define.js").AttributeValue) => undefined; }; }; properties: { checked: { get: (c: SwitchComponent) => boolean; set: (c: SwitchComponent, v: unknown) => undefined; config: string; }; }; methods: readonly [ "toggle", "check", "uncheck" ]; model: "checked"; events: { change: { detail: (payload: unknown) => { checked: boolean; value: boolean; valueAttribute: string; nativeEvent: Event | undefined; }; }; }; slot: { attribute: "label"; config: string; }; form: { value: (c: SwitchComponent) => string | null; control: (c: SwitchComponent) => HTMLInputElement; events: string[]; activate: (c: SwitchComponent) => void; state: (c: SwitchComponent) => "checked" | "unchecked"; restore: (c: SwitchComponent, state: string) => undefined; disable: (c: SwitchComponent, disabled: boolean) => undefined; }; }; declare const switchElement: import("./define.js").ElementDefinition; type SwitchSpec = typeof switchSpec; /** `` as a ref or a query returns it. */ type SwitchElement = ElementInstance; /** Registers `` (or ``). */ declare const defineSwitch: (options?: DefineOptions) => string; declare global { /** `document.querySelector("m-…")` and `createElement` return the element's type (the default prefix). */ interface HTMLElementTagNameMap { "m-switch": SwitchElement; } } declare const tabsSpec: { name: string; create: (config: Config) => TabsComponent; styles: string[]; hostStyles: string; attributes: { "aria-label": { type: "string"; config: string; update: (c: TabsComponent, v: import("./define.js").AttributeValue) => void; }; variant: { type: "string"; config: string; }; value: { type: "string"; }; }; properties: { value: { get: (c: TabsComponent) => string | null; set: (c: TabsComponent, v: unknown) => undefined; }; }; model: "value"; events: { change: { detail: (payload: unknown) => { value: string | null; }; }; }; config: (host: HTMLElement) => Config; observeChildren: (host: HTMLElement, component: TabsComponent) => boolean; }; declare const tabsElement: import("./define.js").ElementDefinition; type TabsSpec = typeof tabsSpec; /** `` as a ref or a query returns it. */ type TabsElement = ElementInstance; /** `` declares one tab and renders nothing. */ declare const tabDeclaration: { readonly name: "tab"; readonly attributes: { readonly "aria-label": { readonly type: "string"; }; readonly value: { readonly type: "string"; }; readonly label: { readonly type: "string"; }; /** Markup (HTML). */ readonly icon: { readonly type: "string"; }; readonly badge: { readonly type: "string"; }; readonly disabled: { readonly type: "boolean"; }; }; }; type TabAttributes = ElementAttributes; /** Registers `` and `` (or with another prefix). */ declare const defineTabs: (options?: DefineOptions) => string; declare global { /** `document.querySelector("m-…")` and `createElement` return the element's type (the default prefix). */ interface HTMLElementTagNameMap { "m-tabs": TabsElement; "m-tab": HTMLElement & TabAttributes; } } /** The text field, with the methods the element adds to it. */ type TextFieldElementComponent = TextFieldComponent & { /** Selects the field's text. */ select: () => void; }; declare const textFieldSpec: { name: string; create: (config: import("./define.js").Config) => TextFieldElementComponent; styles: string[]; hostStyles: string; attributes: { variant: { type: "string"; config: string; update: (c: TextFieldElementComponent, v: AttributeValue) => undefined; }; density: { type: "string"; config: string; update: (c: TextFieldElementComponent, v: AttributeValue) => undefined; }; label: { type: "string"; config: string; }; type: { type: "string"; config: string; }; value: { type: "string"; config: string; update: (c: TextFieldElementComponent, v: AttributeValue) => void; }; placeholder: { type: "string"; config: string; update: (c: TextFieldElementComponent, v: AttributeValue) => undefined; }; "supporting-text": { type: "string"; config: string; update: (c: TextFieldElementComponent, v: AttributeValue) => undefined; }; "prefix-text": { type: "string"; config: string; update: (c: TextFieldElementComponent, v: AttributeValue) => undefined; }; "suffix-text": { type: "string"; config: string; update: (c: TextFieldElementComponent, v: AttributeValue) => undefined; }; /** Markup (HTML). */ "leading-icon": { type: "string"; config: string; update: (c: TextFieldElementComponent, v: AttributeValue) => undefined; }; /** Markup (HTML). */ "trailing-icon": { type: "string"; config: string; update: (c: TextFieldElementComponent, v: AttributeValue, host: HTMLElement) => undefined; }; /** The trailing icon button's accessible name. */ "trailing-icon-label": { type: "string"; config: string; update: (c: TextFieldElementComponent, v: AttributeValue, host: HTMLElement) => void; }; maxlength: { type: "number"; config: string; update: (c: TextFieldElementComponent, v: AttributeValue) => void; }; pattern: { type: "string"; config: string; update: (c: TextFieldElementComponent, v: AttributeValue) => void; }; required: { type: "boolean"; config: string; update: (c: TextFieldElementComponent, v: AttributeValue) => undefined; }; readonly: { type: "boolean"; config: string; update: (c: TextFieldElementComponent, v: AttributeValue) => void; }; disabled: { type: "boolean"; config: string; update: (c: TextFieldElementComponent, v: AttributeValue) => undefined; }; error: { type: "boolean"; config: string; update: (c: TextFieldElementComponent, v: AttributeValue) => undefined; }; autocomplete: { type: "string"; config: string; update: (c: TextFieldElementComponent, v: AttributeValue) => void; }; inputmode: { type: "string"; config: string; update: (c: TextFieldElementComponent, v: AttributeValue) => void; }; enterkeyhint: { type: "string"; config: string; update: (c: TextFieldElementComponent, v: AttributeValue) => void; }; "aria-label": { type: "string"; config: string; update: (c: TextFieldElementComponent, v: AttributeValue) => void; }; }; properties: { value: { get: (c: TextFieldElementComponent) => string; set: (c: TextFieldElementComponent, v: unknown) => undefined; }; }; methods: readonly [ "select", "setError" ]; model: "value"; events: { input: { detail: (payload: unknown) => { value: string; }; }; change: { detail: (payload: unknown) => { value: string; }; }; trailing: { detail: (payload: unknown) => { value: string; event: MouseEvent; }; state: true; }; }; form: { value: (c: TextFieldElementComponent) => string; control: (c: TextFieldElementComponent) => HTMLInputElement | HTMLTextAreaElement; events: string[]; activate: (c: TextFieldElementComponent) => void; state: (c: TextFieldElementComponent) => string; restore: (c: TextFieldElementComponent, state: string) => undefined; disable: (c: TextFieldElementComponent, disabled: boolean) => undefined; }; setup: (_host: import("./define.js").ElementHost, c: TextFieldElementComponent) => () => void; }; declare const textFieldElement: import("./define.js").ElementDefinition; type TextFieldSpec = typeof textFieldSpec; /** `` as a ref or a query returns it. */ type TextFieldElement = ElementInstance; /** Registers `` (or ``). */ declare const defineTextField: (options?: DefineOptions) => string; declare global { /** `document.querySelector("m-…")` and `createElement` return the element's type (the default prefix). */ interface HTMLElementTagNameMap { "m-text-field": TextFieldElement; } } /** The time picker as the element sees it: its value can be empty. */ interface TimepickerElementComponent { element: HTMLElement; picker: TimePickerComponent; /** The committed time, or "" before one is set or confirmed. */ getValue: () => string; setValue: (value: string) => void; /** Opens the dialog, unless the picker is disabled. */ show: () => void; /** Closes the dialog without committing. */ close: () => void; isOpen: () => boolean; required: boolean; /** Subscribes to the time picker's events; `change` and `input` carry the element's possibly empty value. */ on: (event: K, handler: TimePickerEvents[K]) => void; off: (event: K, handler: TimePickerEvents[K]) => void; destroy: () => void; } declare const timepickerSpec: { name: string; create: (config: import("./define.js").Config) => TimepickerElementComponent; styles: string[]; hostStyles: string; attributes: { value: { type: "string"; config: string; update: (c: TimepickerElementComponent, v: import("./define.js").AttributeValue) => void; }; format: { type: "string"; config: string; update: (c: TimepickerElementComponent, v: import("./define.js").AttributeValue) => undefined; }; type: { type: "string"; config: string; update: (c: TimepickerElementComponent, v: import("./define.js").AttributeValue) => undefined; }; orientation: { type: "string"; config: string; update: (c: TimepickerElementComponent, v: import("./define.js").AttributeValue) => undefined; }; min: { type: "string"; config: string; }; max: { type: "string"; config: string; }; step: { type: "number"; config: string; }; "show-seconds": { type: "boolean"; config: string; }; label: { type: "string"; config: string; update: (c: TimepickerElementComponent, v: import("./define.js").AttributeValue) => undefined; }; "aria-label": { type: "string"; config: string; update: (c: TimepickerElementComponent, v: import("./define.js").AttributeValue) => undefined; }; required: { type: "boolean"; config: string; update: (c: TimepickerElementComponent, v: import("./define.js").AttributeValue) => void; }; disabled: { type: "boolean"; config: string; update: (c: TimepickerElementComponent, v: import("./define.js").AttributeValue) => void; }; open: { type: "boolean"; update: (c: TimepickerElementComponent, v: import("./define.js").AttributeValue, host: HTMLElement) => void; }; }; properties: { value: { get: (c: TimepickerElementComponent) => string; set: (c: TimepickerElementComponent, value: unknown) => void; }; }; model: "value"; methods: readonly [ "show", "close" ]; events: { change: { detail: (payload: unknown) => { value: string; }; }; input: { detail: (payload: unknown) => { value: string; draftValue: string; }; }; confirm: { detail: (payload: unknown) => { value: string; }; }; open: { detail: () => null; state: true; }; close: { detail: () => null; state: true; }; }; form: { value: (c: TimepickerElementComponent) => string; events: string[]; activate: (c: TimepickerElementComponent) => void; state: (c: TimepickerElementComponent) => string; restore: (c: TimepickerElementComponent, state: string) => void; disable: (c: TimepickerElementComponent, disabled: boolean) => void; }; setup: (host: ElementHost, c: TimepickerElementComponent) => () => void; }; declare const timepickerElement: import("./define.js").ElementDefinition; type TimepickerSpec = typeof timepickerSpec; /** `` as a ref or a query returns it. */ type TimepickerElement = ElementInstance; /** Registers `` (or ``). */ declare const defineTimepicker: (options?: DefineOptions) => string; declare global { /** `document.querySelector("m-…")` and `createElement` return the element's type (the default prefix). */ interface HTMLElementTagNameMap { "m-timepicker": TimepickerElement; } } declare const toolbarSpec: { name: string; slots: readonly [ "fab", "overflow" ]; create: (config: Config) => ToolbarComponent; styles: string[]; hostStyles: string; attributes: { variant: { type: "string"; config: string; }; color: { type: "string"; config: string; update: (c: ToolbarComponent, v: import("./define.js").AttributeValue) => ToolbarComponent; }; orientation: { type: "string"; config: string; }; placement: { type: "string"; config: string; }; arrangement: { type: "string"; config: string; }; flat: { type: "boolean"; update: (c: ToolbarComponent, v: import("./define.js").AttributeValue) => undefined; }; "fab-position": { type: "string"; config: string; }; "scroll-behavior": { type: "string"; config: string; }; "scroll-threshold": { type: "number"; config: string; }; "overflow-label": { type: "string"; config: string; }; "aria-label": { type: "string"; update: (c: ToolbarComponent, v: import("./define.js").AttributeValue) => void; }; }; methods: readonly [ "show", "hide" ]; events: { show: { detail: () => null; state: true; }; hide: { detail: () => null; state: true; }; collapse: { detail: () => null; state: true; }; expand: { detail: () => null; state: true; }; }; config: (host: HTMLElement) => Config; observeChildren: (host: import("./define.js").ElementHost, component: ToolbarComponent) => boolean; setup: (host: import("./define.js").ElementHost, component: ToolbarComponent) => () => void; }; declare const toolbarElement: import("./define.js").ElementDefinition; type ToolbarSpec = typeof toolbarSpec; /** `` as a ref or a query returns it. */ type ToolbarElement = ElementInstance; /** Registers `` (or ``). */ declare const defineToolbar: (options?: DefineOptions) => string; declare global { /** `document.querySelector("m-…")` and `createElement` return the element's type (the default prefix). */ interface HTMLElementTagNameMap { "m-toolbar": ToolbarElement; } } declare const tooltipSpec: { name: string; create: (config: import("./define.js").Config) => TooltipComponent; styles: string[]; hostStyles: string; attributes: { for: { type: "string"; update: (c: TooltipComponent) => void; }; text: { type: "string"; config: string; update: (c: TooltipComponent, _v: import("./define.js").AttributeValue, host: HTMLElement) => void; }; position: { type: "string"; config: string; update: (c: TooltipComponent, v: import("./define.js").AttributeValue) => undefined; }; variant: { type: "string"; config: string; }; "show-delay": { type: "number"; config: string; }; "hide-delay": { type: "number"; config: string; }; "no-show-on-hover": { type: "boolean"; config: string; }; "no-show-on-focus": { type: "boolean"; config: string; }; }; properties: { target: { get: (c: TooltipComponent) => HTMLElement | null; set: (c: TooltipComponent, v: unknown) => void; }; }; methods: readonly [ "show", "hide" ]; config: (host: HTMLElement) => { text?: undefined; } | { text: string; }; setup: (host: import("./define.js").ElementHost, component: TooltipComponent) => () => void; observeChildren: (host: import("./define.js").ElementHost, component: TooltipComponent) => true; }; declare const tooltipElement: import("./define.js").ElementDefinition; type TooltipSpec = typeof tooltipSpec; /** `` as a ref or a query returns it. */ type TooltipElement = ElementInstance; /** Registers `` (or ``). */ declare const defineTooltip: (options?: DefineOptions) => string; declare global { /** `document.querySelector("m-…")` and `createElement` return the element's type (the default prefix). */ interface HTMLElementTagNameMap { "m-tooltip": TooltipElement; } } declare const topAppBarSpec: { name: string; slots: readonly [ "leading", "trailing" ]; create: (config: import("./define.js").Config) => TopAppBarComponent; styles: string[]; hostStyles: string; attributes: { type: { type: "string"; config: string; update: (c: TopAppBarComponent, v: import("./define.js").AttributeValue) => undefined; }; headline: { type: "string"; config: string; update: (c: TopAppBarComponent, v: import("./define.js").AttributeValue) => void; }; "no-scroll": { type: "boolean"; }; "no-compress": { type: "boolean"; }; "scroll-threshold": { type: "number"; config: string; }; "scroll-target": { type: "string"; }; "aria-label": { type: "string"; update: (c: TopAppBarComponent, v: import("./define.js").AttributeValue) => void; }; }; methods: readonly [ "setScrollState" ]; config: (host: HTMLElement) => import("./define.js").Config; setup: (host: import("./define.js").ElementHost, component: TopAppBarComponent) => () => void; }; /** @deprecated use `appBarElement`. */ declare const topAppBarElement: import("./define.js").ElementDefinition; /** @deprecated use `AppBarSpec`. */ type TopAppBarSpec = typeof topAppBarSpec; /** @deprecated use `AppBarElement`. */ type TopAppBarElement = ElementInstance; /** * @deprecated use `defineAppBar`. Registers `` (or * ``). */ declare const defineTopAppBar: (options?: DefineOptions) => string; declare global { /** `document.querySelector("m-…")` and `createElement` return the element's type (the default prefix). */ interface HTMLElementTagNameMap { /** @deprecated use `m-app-bar`. */ "m-top-app-bar": TopAppBarElement; } } export type { AppBarElement, AppBarSpec, BadgeElement, BadgeSpec, BottomAppBarElement, BottomAppBarSpec, BottomSheetElement, BottomSheetElementComponent, BottomSheetSpec, ButtonElement, ButtonGroupElement, ButtonGroupItemAttributes, ButtonGroupSpec, ButtonGroupValue, ButtonSpec, CardElement, CardSpec, CarouselElement, CarouselItemAttributes, CarouselSpec, CheckboxElement, CheckboxSpec, ChipAttributes, ChipsElement, ChipsSpec, ChipsValue, DatepickerElement, DatepickerElementComponent, DatepickerSpec, DialogElement, DialogElementComponent, DialogSpec, DividerElement, DividerSpec, DrawerElement, DrawerItemAttributes, DrawerSpec, ExtendedFabElement, ExtendedFabSpec, FabElement, FabMenuElement, FabMenuElementComponent, FabMenuItemAttributes, FabMenuSpec, FabSpec, ListElement, ListItemAttributes, ListSpec, LoadingIndicatorElement, LoadingIndicatorSpec, MenuAnchor, MenuElement, MenuElementComponent, MenuItemAttributes, MenuSpec, NavigationBarElement, NavigationBarItemAttributes, NavigationBarSpec, NavigationDrawerElement, NavigationDrawerItemAttributes, NavigationDrawerSpec, NavigationRailElement, NavigationRailItemAttributes, NavigationRailSpec, ProgressElement, ProgressSpec, RadioAttributes, RadiosElement, RadiosSpec, SearchElement, SearchElementComponent, SearchElementEvents, SearchSpec, SearchSuggestionAttributes, SelectElement, SelectOptionAttributes, SelectSpec, SideSheetElement, SideSheetElementComponent, SideSheetSpec, SliderElement, SliderSpec, SnackbarElement, SnackbarSpec, SplitButtonElement, SplitButtonElementComponent, SplitButtonElementEventType, SplitButtonSpec, SwitchElement, SwitchSpec, TabAttributes, TabsElement, TabsSpec, TextFieldElement, TextFieldElementComponent, TextFieldSpec, TimepickerElement, TimepickerElementComponent, TimepickerSpec, ToolbarElement, ToolbarSpec, TooltipElement, TooltipSpec, TopAppBarElement, TopAppBarSpec }; export { appBarElement, badgeElement, bottomAppBarElement, bottomSheetElement, buttonElement, buttonGroupElement, buttonGroupItemDeclaration, cardElement, carouselElement, carouselItemDeclaration, checkboxElement, chipDeclaration, chipsElement, datepickerElement, declarations, defineAll, defineAppBar, defineBadge, defineBottomAppBar, defineBottomSheet, defineButton, defineButtonGroup, defineCard, defineCarousel, defineCheckbox, defineChips, defineDatepicker, defineDialog, defineDivider, defineDrawer, defineExtendedFab, defineFab, defineFabMenu, defineList, defineLoadingIndicator, defineMenu, defineNavigationBar, defineNavigationDrawer, defineNavigationRail, defineProgress, defineRadios, defineSearch, defineSelect, defineSideSheet, defineSlider, defineSnackbar, defineSplitButton, defineSwitch, defineTabs, defineTextField, defineTimepicker, defineToolbar, defineTooltip, defineTopAppBar, dialogElement, dividerElement, drawerElement, drawerItemDeclaration, elements, extendedFabElement, fabElement, fabMenuElement, fabMenuItemDeclaration, listElement, listItemDeclaration, loadingIndicatorElement, menuElement, menuItemDeclaration, navigationBarElement, navigationBarItemDeclaration, navigationDrawerElement, navigationDrawerItemDeclaration, navigationRailElement, navigationRailItemDeclaration, progressElement, radioDeclaration, radiosElement, searchElement, searchSuggestionDeclaration, selectElement, selectOptionDeclaration, sideSheetElement, sliderElement, snackbarElement, splitButtonElement, switchElement, tabDeclaration, tabsElement, textFieldElement, timepickerElement, toolbarElement, tooltipElement, topAppBarElement }; export type { AttributeProp, ComponentSpec, DeclarationSpec, DefaultProps, Described, FormProps, ModelOf, Pascal } from "./adapter.js"; export type { AttributeSpec, AttributeType, DefineOptions, ElementAttributes, ElementComponent, ElementDefinition, ElementEvents, ElementHost, ElementInstance, ElementMarkup, ElementMethods, ElementProperties, ElementProps, ElementSlotProp, ElementSlotText, ElementSlots, ElementSpec, EventSpec, FormSpec, PropertySpec, SlotSpec } from "./define.js"; export type { IconButtonElement, IconButtonSpec } from "./icon-button.js"; export { DEFAULT_PREFIX, SHADOW_BASE_STYLES, defineElement } from "./define.js"; export { camel, configure, describe, describeDeclaration, getPrefix, isBrowser, pascal, toAttribute } from "./adapter.js"; export { defineIconButton, iconButtonElement } from "./icon-button.js"; export { hasStyles, registerStyles } from "./styles.js";