import { FC } from 'react'; import { z } from 'zod'; import { CellProps } from './Cells'; import { FormProps } from './Forms'; import { Theming } from '../../theming'; export declare const variantZ: z.ZodEnum<{ value: "value"; text: "text"; }>; export type Variant = z.infer; export interface Spec { key: Variant; name: string; Form: FC; Cell: FC>>; schema: Z; defaultProps: (t: Theming.Theme) => z.infer; } export declare const REGISTRY: Record>; export declare const configZ: z.ZodDiscriminatedUnion<[z.ZodObject<{ key: z.ZodString; variant: z.ZodLiteral<"text">; props: z.ZodObject<{ value: z.ZodString; level: z.ZodEnum<{ small: "small"; h1: "h1"; h2: "h2"; h3: "h3"; h4: "h4"; h5: "h5"; p: "p"; }>; weight: z.ZodUnion]>; align: z.ZodUnion<[z.ZodEnum<{ left: "left"; right: "right"; }>, z.ZodEnum<{ center: "center"; }>]>; backgroundColor: z.ZodUnion, 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>; }, z.core.$strip>, z.ZodObject<{ key: z.ZodString; variant: z.ZodLiteral<"value">; props: z.ZodObject<{ telem: z.ZodObject<{ type: z.ZodString; props: z.ZodAny; transfer: z.ZodOptional>>; variant: z.ZodLiteral<"source">; valueType: z.ZodLiteral<"string">; }, z.core.$strip>; redline: z.ZodObject<{ bounds: z.ZodObject<{ lower: z.ZodNumber | z.ZodType>; upper: z.ZodNumber | z.ZodType>; }, z.core.$strip>; gradient: z.ZodArray, 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>]>; position: z.ZodNumber; switched: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>; level: z.ZodEnum<{ small: "small"; h1: "h1"; h2: "h2"; h3: "h3"; h4: "h4"; h5: "h5"; p: "p"; }>; color: z.ZodString; units: z.ZodString; stalenessTimeout: z.ZodDefault; stalenessColor: z.ZodDefault, 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; }>>>; }, z.core.$strip>; }, z.core.$strip>], "variant">; export type Config = z.infer; export declare const resolveSpec: (variant: string) => Spec; //# sourceMappingURL=registry.d.ts.map