import { HookConfig, AfterSourceHookFunctionPayload, SourceHookExecConfig, HookBuildConfig } from './types'; /** * Configuration required when building/memoizing the handler wrapping the black box hook function. */ export interface AfterSourceHookBuildConfig extends HookBuildConfig { afterSource?: HookConfig[]; } /** * Configuration required when executing the hook handler. */ export interface AfterSourceHookExecConfig extends SourceHookExecConfig { payload: AfterSourceHookFunctionPayload; } /** * Gets the handler function for the `afterSource` hook. Wraps the blackbox hook function with common logic/error handling. * @param fnBuildConfig Build configuration. */ declare const getAfterSourceHookHandler: (fnBuildConfig: AfterSourceHookBuildConfig) => (fnExecConfig: AfterSourceHookExecConfig) => Promise; export default getAfterSourceHookHandler;