export type AfterTask = Promise | AfterCallback; export type AfterCallback = () => T | Promise; /** * This function allows you to schedule callbacks to be executed after the current request finishes. */ export declare function after(task: AfterTask): void;