import { EventEmitter } from '../../stencil-public-runtime';
import { FormControlState } from '../../utils/form-control';
/**
* @component seki-switch
* @description An accessible toggle control for binary on/off states with full keyboard navigation,
* ARIA support, form integration, and theme compatibility.
* @example
*
*
*
*/
export declare class SekiSwitch {
el: HTMLElement;
internals: ElementInternals;
private switchEl?;
private formControl?;
/**
* @description Checked state. In HTML this attribute is the *initial* state (as
* with ``), and the component keeps it in step with user
* interaction. Assigning the property at any time drives the state, so a host
* framework can still fully control the switch — including vetoing a user
* toggle by writing the previous value back in its `sekiChange` handler.
*/
checked?: boolean;
/**
* @description Initial checked state for uncontrolled mode. Ignored if checked prop is provided.
*/
defaultChecked: boolean;
/**
* @description Disables all interactions when true.
*/
disabled: boolean;
/**
* @description Marks switch as required for form validation.
*/
required: boolean;
/**
* @description Form field name for form integration.
*/
name?: string;
/**
* @description Value sent in form data when switch is checked. Defaults to 'on'.
*/
value: string;
/**
* @description Accessible label for standalone switches without associated label elements.
*/
ariaLabel?: string;
/**
* Text that describes this control. Set by `seki-field` from its description
* (and error) slot, because an `aria-describedby` id cannot cross the shadow
* boundary to the inner element (#358).
*/
ariaDescription?: string;
/** Marks the control invalid for assistive technology. Set by `seki-field` (#358). */
ariaInvalid?: string;
/**
* @description Rendered checked state. Seeded from `checked` (or `defaultChecked`)
* and thereafter the single source of truth for rendering.
*/
internalChecked: boolean;
/**
* @description Emitted when checked state changes (user interaction or programmatic).
*/
sekiChange: EventEmitter<{
checked: boolean;
}>;
/**
* Seed internal state from `checked` when authored, else from `defaultChecked`.
*/
componentWillLoad(): void;
handleFormStateChange(): void;
formResetCallback(): void;
formDisabledCallback(disabled: boolean): void;
formStateRestoreCallback(state: FormControlState): void;
/**
* Mirror externally-assigned `checked` onto the rendered state. This is what
* keeps controlled usage working: a consumer writing `el.checked = x` (or
* writing the old value back to reject a toggle) always wins.
*/
checkedChanged(newValue: boolean | undefined): void;
/**
* Get current checked state
*/
private get isChecked();
/**
* Toggle switch state and emit event
*/
private toggle;
/**
* Handle click events
*/
private handleClick;
/**
* Handle keyboard events (Space and Enter keys)
*/
handleKeyDown(event: KeyboardEvent): void;
render(): any;
}