import type { ShowIfCondition, StateField } from './types'; /** * True when the field should be visible: no conditions, or at least one * top-level condition matches (top level is OR-ed, `and` blocks are AND-ed). */ export declare function evaluateShowIf(conditions: ShowIfCondition[] | undefined, values: Record, currentFieldName?: string | null): boolean; /** * Coerce a raw form value (usually a string) to the field's type so showIf * comparisons behave the same as on the frame itself. */ export declare function coerceStateFieldValue(field: Pick, value: unknown): unknown; /** The values map for showIf checks: field defaults overlaid with the sources. */ export declare function stateFieldShowIfValues(fields: StateField[], ...valueSources: (Record | null | undefined)[]): Record; /** * The public state fields visible in a control form given the current values * (later sources win, defaults fill the gaps). */ export declare function visiblePublicStateFields(fields: StateField[], ...valueSources: (Record | null | undefined)[]): StateField[];