import type { Fn } from "@thi.ng/api"; import type { MapLike } from "./api.js"; /** * Similar to {@link memoize1}, however optimized for side effects only, i.e. * functions which DO NOT return any result. * * @param fn - * @param cache - */ export declare const doOnce: (fn: Fn, cache?: MapLike) => (x: T) => void; //# sourceMappingURL=do-once.d.ts.map