import { z } from 'zod'; import { Breakpoint } from '../constants'; /** A component-level prop stored as `prop` plus `sm/md/lg: { prop }`. */ export declare class ResponsiveProp { readonly type: T; private readonly kind; constructor(type: T); } export type PropSpec = z.ZodType | ResponsiveProp; export declare function responsive(type: T): ResponsiveProp; type PropType = S extends ResponsiveProp ? T : S extends z.ZodType ? S : never; type ResponsiveKeys

= { [K in keyof P]: P[K] extends ResponsiveProp ? K : never; }[keyof P]; type BreakpointShape

= [ResponsiveKeys

] extends [never] ? unknown : { [B in Breakpoint]: z.ZodOptional]: z.ZodOptional>; }, z.core.$strict>>; }; export type PropsShape

> = { [K in keyof P]: z.ZodOptional>; } & BreakpointShape

; export type PropsObject

> = z.ZodObject, z.core.$strict>; /** Strict object of optional props; responsive props are also accepted under `sm`/`md`/`lg`. */ export declare function propsObject

>(spec: P): PropsObject

; export {};