import type { RuleValue } from '../main/rule-value/rule-value'; import type { Field, ModelRule, Operator, Styles } from '../types'; export declare const getFieldInput: (context: RuleValue | ModelRule) => "number" | "date" | "text" | "checkbox" | "select" | "datetime-local"; export declare const getFieldType: (context: RuleValue | ModelRule) => "string" | "boolean" | "int" | "short" | "double" | "long" | "bigdecimal" | "enum" | "date" | "date-time"; export declare const processOptGroups: (xs: T[]) => (T | { optgroup: string | null; xs: T[]; })[]; /** * Utility function to add custom styles to a web component's shadow root * * @param component The web component instance * @param styles The styles configuration object * @param styleKey The key in styles.customStyles to use for custom styles */ export declare function applyCustomStyles(component: HTMLElement, styles: Styles | undefined | null, styleKey: keyof NonNullable): void; //# sourceMappingURL=misc.d.ts.map