declare function once any>(func: T): T; export { once };