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