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: <T>(fn: Fn<T, void>, cache?: MapLike<T, boolean>) => (x: T) => void;
//# sourceMappingURL=do-once.d.ts.map