/** * Service for running asynchronous functions. */ export declare class AsyncService { private logger; /** * Run an asynchronous function without awaiting for it. * * The function is executed asynchronously as soon as possible (on the next tick) * to avoid blocking the current execution thread. * * If the function throws or rejects an error, the error is * properly caught and logged. * * @param fn - The function to run. */ run(fn: () => Promise): void; }