export declare function once any>(fn: T): T & { clear: () => void; };