import { SwitchConfig, SwitchSize } from './types';
export type { SwitchConfig, SwitchSize } from './types';
export declare class Switch {
    readonly el: HTMLLabelElement;
    private readonly inputEl;
    private readonly trackEl;
    private readonly thumbEl;
    private labelEl;
    private readonly switchId;
    private currentSize;
    private readonly changeHandler;
    private readonly onChangeCallback;
    constructor(config: SwitchConfig);
    /** Returns whether the switch is currently checked */
    isChecked(): boolean;
    /** Programmatically set the checked state */
    setChecked(checked: boolean): void;
    /** Toggle the checked state */
    toggle(): void;
    /** Set the disabled state */
    setDisabled(disabled: boolean): void;
    /** Change the size variant */
    setSize(size: SwitchSize): void;
    /** Remove from DOM and clean up */
    destroy(): void;
    private buildClassName;
}
//# sourceMappingURL=index.d.ts.map