type SwitchProps = {
    label?: string;
    onChange?: (on: boolean) => void;
    on?: boolean;
    compact?: boolean;
};
declare const Switch: ({ label, onChange, on: onProp, compact }: SwitchProps) => import("preact").JSX.Element;
export default Switch;
