import { Option } from './types'; export declare function debounce any>(f: T, wait?: Option): T; export declare function throttle any>(f: T, wait?: Option): T; /** * Merge properties from `source` into `target` if they don't already exist. * * This is a shallow merge. */ export declare function merge(target?: T, source?: T): T; /** * @internal */ export declare function flatten(array: (T | T[])[]): T[]; /** * Flushes all pending promises. * * @internal */ export declare function flushPromises(): Promise; /** * @internal */ export declare function parseBigInt(value: string): number;