type Arr = readonly unknown[];
export declare function toOnce<T extends Arr, R>(func: (...args: T) => R, altFunc?: (...args: T) => R): (...args: T) => R;
export declare function toOnceOrError<T extends Arr, R>(func: (...args: T) => R): (...args: T) => R;
export {};
