import type { OmitIndexSignature, Simplify } from 'type-fest';
export declare function removeFieldsWithNullishValues<const T extends Record<string, any>>(object: T): T;
export declare const pickFields: (source: Record<string | number, any>, fields: (string | number)[]) => {
    [k: string]: any;
};
export declare const mutateData: <const T extends Record<string | number, any>>(context: T, ...mutations: Simplify<OmitIndexSignature<{ [Key in keyof (Partial<T> & {
    __override__?: boolean;
})]?: Key extends "__override__" ? boolean : Key extends keyof T ? T[Key] | ((ctx: T) => T[Key]) : never; }>>[]) => void;
