type Keys = {
    label?: string;
    value?: string;
    [key: string]: any;
};
type KeysWithChildren = Keys & {
    children?: string;
};
type DateItem = string | Record<string, any>;
declare function transformKeys(data: DateItem[], keys?: Keys): Required<Keys>[];
declare function transformKeys(data: DateItem[], keys?: KeysWithChildren): Required<KeysWithChildren>[];
export default transformKeys;
