import { FC } from 'react'; import { z } from 'zod'; import { Grid } from '../grid'; import { ButtonProps } from './Button'; import { NodeProps } from '../../spec'; import { telem } from '../../../../telem/aether'; export declare const toggleConfigZ: z.ZodObject<{ label: z.ZodOptional; level: z.ZodOptional>; orientation: z.ZodOptional>; direction: z.ZodOptional>; maxInlineSize: z.ZodOptional; align: z.ZodOptional>; }, z.core.$strip>>; orientation: z.ZodOptional>; scale: z.ZodOptional; stalenessTimeout: z.ZodOptional; stalenessColor: z.ZodOptional, z.ZodTuple<[z.ZodInt, z.ZodInt, z.ZodInt, z.ZodNumber], null>, z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>, z.ZodObject<{ rgba255: z.ZodTuple<[z.ZodInt, z.ZodInt, z.ZodInt, z.ZodNumber], null>; }, z.core.$strip>, z.ZodObject<{ r: z.ZodInt; g: z.ZodInt; b: z.ZodInt; a: z.ZodNumber; }, z.core.$strip>, z.ZodTuple<[z.ZodInt, z.ZodInt, z.ZodInt, z.ZodPipe>], null>, z.ZodObject<{ rgba255: z.ZodTuple<[z.ZodInt, z.ZodInt, z.ZodInt, z.ZodPipe>], null>; }, z.core.$strip>, z.ZodObject<{ r: z.ZodInt; g: z.ZodInt; b: z.ZodInt; a: z.ZodPipe>; }, z.core.$strip>]>, z.ZodTransform<[number, number, number, number], string | [number, number, number] | [number, number, number, number] | { rgba255: [number, number, number, number]; } | { r: number; g: number; b: number; a: number; } | { rgba255: [number, number, number, number]; } | { r: number; g: number; b: number; a: number; }>>>; source: z.ZodOptional>>; variant: z.ZodLiteral<"source">; valueType: z.ZodLiteral<"boolean">; }, z.core.$strip>>; sink: z.ZodOptional>>; variant: z.ZodLiteral<"sink">; valueType: z.ZodLiteral<"boolean">; }, z.core.$strip>>; control: z.ZodOptional; showChip: z.ZodOptional; showIndicator: z.ZodOptional; chip: z.ZodOptional>>; variant: z.ZodLiteral<"source">; valueType: z.ZodLiteral<"status">; }, z.core.$strip>>; sink: z.ZodOptional>>; variant: z.ZodLiteral<"sink">; valueType: z.ZodLiteral<"boolean">; }, z.core.$strip>>; }, z.core.$strip>>; indicator: z.ZodOptional>>; variant: z.ZodLiteral<"source">; valueType: z.ZodLiteral<"status">; }, z.core.$strip>>; colorSource: z.ZodOptional>>; variant: z.ZodLiteral<"source">; valueType: z.ZodLiteral<"color">; }, z.core.$strip>>; }, z.core.$strip>>; orientation: z.ZodOptional>; }, z.core.$strip>>; onClickDelay: z.ZodOptional; color: z.ZodOptional, z.ZodTuple<[z.ZodInt, z.ZodInt, z.ZodInt, z.ZodNumber], null>, z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>, z.ZodObject<{ rgba255: z.ZodTuple<[z.ZodInt, z.ZodInt, z.ZodInt, z.ZodNumber], null>; }, z.core.$strip>, z.ZodObject<{ r: z.ZodInt; g: z.ZodInt; b: z.ZodInt; a: z.ZodNumber; }, z.core.$strip>, z.ZodTuple<[z.ZodInt, z.ZodInt, z.ZodInt, z.ZodPipe>], null>, z.ZodObject<{ rgba255: z.ZodTuple<[z.ZodInt, z.ZodInt, z.ZodInt, z.ZodPipe>], null>; }, z.core.$strip>, z.ZodObject<{ r: z.ZodInt; g: z.ZodInt; b: z.ZodInt; a: z.ZodPipe>; }, z.core.$strip>]>>; }, z.core.$strip>; export type ToggleConfig = z.infer; export declare const ZERO_BOOLEAN_SOURCE: telem.SourceSpec<"boolean">; export declare const ZERO_BOOLEAN_SINK: telem.SinkSpec<"boolean">; export declare const ZERO_TOGGLE_DEFAULTS: Partial; export declare const ZERO_DUMMY_TOGGLE_DEFAULTS: Partial; export declare const createToggle: (BaseSymbol: FC & ButtonProps>, overrides?: { grid?: Partial>; }) => FC>; export declare const dummyToggleConfigZ: z.ZodObject<{ label: z.ZodOptional; level: z.ZodOptional>; orientation: z.ZodOptional>; direction: z.ZodOptional>; maxInlineSize: z.ZodOptional; align: z.ZodOptional>; }, z.core.$strip>>; orientation: z.ZodOptional>; scale: z.ZodOptional; enabled: z.ZodOptional; clickable: z.ZodOptional; }, z.core.$strip>; export type DummyToggleConfig = z.infer; export declare const createDummyToggle: (Primitive: FC & ButtonProps>) => FC>; //# sourceMappingURL=toggle.d.ts.map