import { EventEmitter } from '../../stencil-public-runtime'; export type ToggleSizeType = 'standard' | 'small'; export type LabelPositionType = 'left' | 'right'; export declare class DatacomToggle { /** * Name attribute of the toggle element */ name: string; /** * Label of the toggle element */ label: string; /** * Sets whether the label is rendered on the left or right (default) of the toggle element */ labelPosition: LabelPositionType; /** * True if the toggle element must be disabled */ disabled: boolean; /** * True if the toggle element is initially toggled on. */ toggled: boolean; /** * Toggle element is either standard size (default) or small */ variant: ToggleSizeType; /** * Event emitter to let external components know when the toggle element state has changed */ toggleChanged: EventEmitter; /** * Function to handle when the toggle state has changed */ onToggleChange: () => void; /** * Function for rendering the label of the toggle element * * @returns label content in the form of a span element */ renderLabelElement: () => any; render(): any; } export type HTMLDatacomToggleElement = HTMLElement & DatacomToggle;