import type { Callable } from '../types'; /** * ensure function to be called once, and only once * * note: `this` is dropped * @param fn - the function to call for the first time * @param subsequent - the function to call after the first one * @returns function that will call `fn` for the first time, and then `subsequent` */ export declare function once(fn: T & ThisType, subsequent?: (lastResult: ReturnType, ...args: Parameters) => any): T; //# sourceMappingURL=functools.d.ts.map