import { EventEmitter } from '../../stencil-public-runtime';
/**
* @component seki-toggle
* @description A two-state button that can be either on or off. Supports variants (default, outline)
* and sizes (sm, md, lg) with full keyboard navigation and ARIA support.
* @example
* Bold
* Italic
* Underline
*/
export declare class SekiToggle {
el: HTMLElement;
/**
* Value identifier when used inside a toggle group.
*/
value?: string;
/**
* Controlled pressed state. When provided, component operates in controlled mode.
*/
pressed?: boolean;
/**
* Initial pressed state for uncontrolled mode. Ignored if pressed prop is provided.
*/
defaultPressed: boolean;
/**
* Visual style variant of the toggle.
*/
variant: 'default' | 'outline';
/**
* Size of the toggle button.
*/
size: 'sm' | 'md' | 'lg';
/**
* Disables all interactions when true.
*/
disabled: boolean;
/**
* Accessible label for screen readers. Required for icon-only toggles.
*/
ariaLabel?: string;
/**
* Internal pressed state for uncontrolled mode.
*/
internalPressed: boolean;
/**
* Cached group context reference
*/
private groupContext;
/**
* Parent group context subscription (subscribe/unsubscribe pair)
*/
private contextSubscription;
/**
* Emitted when pressed state changes.
*/
sekiPressedChange: EventEmitter<{
pressed: boolean;
}>;
/**
* Get toggle group context from parent element
*/
private getGroupContext;
/**
* Check if toggle is inside a group
*/
private get isInGroup();
componentWillLoad(): void;
componentDidLoad(): void;
disconnectedCallback(): void;
/**
* Refresh pressed/focus/disabled visuals whenever the group's state changes
* post-mount. Slotted children don't re-render with the group, so this is
* applied imperatively to the host/shadow DOM rather than through a Stencil
* @State bump + render() — a component that reads a parent's state via
* closest() + an addEventListener callback and relies on render() re-invoking
* to reflect it is a confirmed-unreliable shape in this codebase (#244).
*/
private handleGroupContextChange;
/**
* Get current pressed state (from group context or local state)
*/
private get isPressed();
/**
* Mirror an externally-assigned `pressed` onto the rendered state. This is what
* keeps controlled usage working: a consumer writing `el.pressed = x` (or
* writing the old value back to reject a toggle) always wins. Ignored inside a
* toggle group, where the group owns the pressed state.
*/
pressedChanged(newValue: boolean | undefined): void;
/**
* Toggle pressed state and emit event
*/
private toggle;
/**
* Handle click events
*/
private handleClick;
/**
* Handle keyboard events (Space and Enter keys)
*/
handleKeyDown(event: KeyboardEvent): void;
render(): any;
}