export declare interface CompileClassConfig { enabled?: boolean trigger?: string classPrefix?: string layer?: string } export declare interface HeadwindConfig { content: string[] output: string minify: boolean watch: boolean verbose?: boolean theme: Theme shortcuts: Record rules: CustomRule[] variants: VariantConfig safelist: string[] blocklist: string[] preflights: Preflight[] presets: Preset[] compileClass?: CompileClassConfig } export declare interface Theme { colors: Record> spacing: Record fontSize: Record fontFamily: Record screens: Record borderRadius: Record boxShadow: Record } export declare interface VariantConfig { 'responsive': boolean 'hover': boolean 'focus': boolean 'active': boolean 'disabled': boolean 'dark': boolean 'group': boolean 'peer': boolean 'before': boolean 'after': boolean 'marker': boolean 'first': boolean 'last': boolean 'odd': boolean 'even': boolean 'first-of-type': boolean 'last-of-type': boolean 'visited': boolean 'checked': boolean 'focus-within': boolean 'focus-visible': boolean 'placeholder': boolean 'selection': boolean 'file': boolean 'required': boolean 'valid': boolean 'invalid': boolean 'read-only': boolean 'autofill': boolean 'open': boolean 'closed': boolean 'empty': boolean 'enabled': boolean 'only': boolean 'target': boolean 'indeterminate': boolean 'default': boolean 'optional': boolean 'print': boolean 'rtl': boolean 'ltr': boolean 'motion-safe': boolean 'motion-reduce': boolean 'contrast-more': boolean 'contrast-less': boolean } export declare interface ParsedClass { raw: string variants: string[] utility: string value?: string important: boolean arbitrary: boolean } export declare interface CSSRule { selector: string properties: Record mediaQuery?: string childSelector?: string } export declare interface UtilityRuleResult { properties: Record childSelector?: string } export declare interface Preflight { getCSS: () => string } export declare interface Preset { name: string theme?: Partial rules?: CustomRule[] shortcuts?: Record variants?: Partial preflights?: Preflight[] } export type CustomRule = [RegExp, (match: RegExpMatchArray) => Record | undefined] declare type DeepPartial = { [P in keyof T]?: T[P] extends object ? DeepPartial : T[P] } export type HeadwindOptions = DeepPartial