import { z } from 'zod'; export type SxPolicy = 'responsive' | 'xs'; export type SxGroup = 'margin' | 'padding' | 'width' | 'height' | 'border' | 'radius' | 'background' | 'text' | 'flexContainer' | 'gridContainer' | 'position' | 'media'; /** A group or key with its breakpoint policy. A key overrides its group; a `[policy, type]` tuple declares a custom key. */ export type SxSpec = Partial>; export type SxKeyDoc = { key: string; values: string; breakpoints: 'all' | 'xs'; }; type SxScalar = string | number; export type SxValue = { [key: string]: SxScalar | { [key: string]: SxScalar | undefined; } | undefined; }; export type SxSchema = z.ZodType & { readonly docs: readonly SxKeyDoc[]; }; /** Builds the `sx` schema: xs keys at the top level, `'responsive'` keys also under `sm`/`md`/`lg`. */ export declare function sx(spec: SxSpec, options?: { fitContent?: boolean; }): SxSchema; export {};