interface RuleType { field: 'name' | 'code' | 'type'; logic: 'and' | 'or'; operator: string; value: string; } interface PropsType { onSearch: (rules: RuleType[]) => void; } export declare const ConditionAdd: ({ onSearch }: PropsType) => JSX.Element; export {};