import { LitElement, PropertyValues, TemplateResult } from "lit"; import "../icon/icon.js"; import "../tooltip/tooltip.js"; declare const WarpSelect_base: import("@open-wc/form-control").Constructor & typeof LitElement; /** * A dropdown component for selecting a single value. * * [Warp component reference](https://warp-ds.github.io/docs/components/select/frameworks/elements) */ export declare class WarpSelect extends WarpSelect_base { #private; /** * Whether the element should receive focus on render. * * @deprecated Use the native `autofocus` attribute instead. */ autoFocus: boolean; /** * Whether the element should receive focus on render */ autofocus: boolean; /** * The content displayed as the help text. * * Paired with `invalid` to show the text as a validation error. */ helpText: string | undefined; /** * Renders the field in an invalid state. * * Paired with `help-text` to provide feedback about the error. */ invalid: boolean; /** * Whether to always show a hint. * * @deprecated Use `help-text` instead and only set it if you want to display the help text. */ always: boolean; /** * The content displayed as the help text. * * @deprecated Use `help-text` instead. */ hint: string | undefined; /** * The content to display as the label. */ label: string | undefined; /** * Whether to show the optional indicator after the label. */ optional: boolean; /** * Supplementary information that should show in a tooltip behind an information icon after the label. * * You must provide a label to be able to show an info icon with a tooltip. */ tooltip?: string; /** * Renders the field in a disabled state. */ disabled: boolean; /** * Renders the field in a readonly state. * * @deprecated Use the native readonly attribute instead. */ readOnly: boolean; /** * Renders the field in a readonly state. */ readonly: boolean; private _options; /** * The [name](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#name) of the select when submitting the form. */ name: string | undefined; /** * Lets you set the current value. */ value: string | undefined; private _hasHelpTextSlot; static styles: import("lit").CSSResult[]; constructor(); /** @internal */ resetFormControl(): void; /** @internal */ _setValue: (value: string) => void; connectedCallback(): void; disconnectedCallback(): void; firstUpdated(): void; /** @internal */ formStateRestoreCallback(state: string | File | FormData | null, _reason: "autocomplete" | "restore"): void; willUpdate(changedProperties: PropertyValues): void; updated(changedProperties: PropertyValues): void; /** @internal */ handleKeyDown(event: KeyboardEvent): void; private onChange; helpTextSlotChange(): void; render(): TemplateResult<1>; } declare global { interface HTMLElementTagNameMap { "w-select": WarpSelect; } } export {};