import type { When } from "../../../form-generator-v2/types.js";
export type Condition = {
    field: string;
    operator: '===' | '!==';
    value: string | boolean;
};
export type Combinator = {
    operator: '&&' | '||';
};
export declare const OPERATOR_OPTIONS: {
    value: string;
    content: string;
}[];
export declare const COMBINATOR_OPTIONS: {
    value: string;
    content: string;
}[];
export declare const parse: (when: When | undefined) => {
    conditions: Condition[];
    combinators: Combinator[];
};
export declare const serialize: (conditions: Condition[], combinators: Combinator[]) => When | undefined;
export declare const coerceValue: (raw: string) => string | boolean;
export declare const displayValue: (value: string | boolean | undefined) => string;
