import { ControlConfig, ControlFilterCondition, EditorBaseField, SafeAny } from '../../core';
/**
 * 格式化日期为 yyyy-MM-dd 格式
 * @param date Date对象
 * @returns 格式化后的日期字符串
 */
export declare function formatDateToString(date: Date): string;
export declare function convertDateToString(value?: Date | Date[]): string | (string | null)[] | null;
export declare function convertStringToDate(value?: string | string[]): Date | Date[] | null;
/**
 * 更新字段配置中 children 的特定子字段
 * @param baseField 基础字段配置
 * @param childrenConfig 子字段配置更新对象，key为子字段的key，value为要更新的属性
 * @returns 更新后的字段配置
 */
export declare function updateFieldChildren(baseField: EditorBaseField, childrenConfig: Record<string, Partial<EditorBaseField>>): EditorBaseField;
/**
 * 便捷方法：专门用于更新 optionsStream
 */
export declare function updateFieldChildrenStream(baseField: EditorBaseField, streamConfig: Record<string, SafeAny>): EditorBaseField;
/**
 * 将控件配置数组转换为过滤条件对象
 * @param controls 控件配置数组
 * @returns 过滤条件对象 {[controlId: string]: ControlFilterCondition}
 */
export declare function convertControlsToFilters(controls: ControlConfig[]): {
    [controlId: string]: ControlFilterCondition;
};
