import { HookConfig, SetResultAndStopExecutionFn, HookBuildConfig, HookExecConfig } from './types'; /** * Configuration required when building/memoizing the handler wrapping the black box hook function. */ export interface AfterAllHookBuildConfig extends HookBuildConfig { afterAll: HookConfig; } /** * Configuration required when executing the hook handler. */ export interface AfterAllHookExecConfig extends HookExecConfig { setResultAndStopExecution: SetResultAndStopExecutionFn; } /** * Gets the handler function for the `afterAll` hook. Wraps the blackbox hook function with common logic/error handling. * @param fnBuildConfig Build configuration. */ declare const getAfterAllHookHandler: (fnBuildConfig: AfterAllHookBuildConfig) => (fnExecConfig: AfterAllHookExecConfig) => Promise; export default getAfterAllHookHandler;