import { type ResponseObject, type ResponseToolkit, type Server } from '@hapi/hapi';
import { type PageControllerClass } from '../../../../server/plugins/engine/pageControllers/helpers/pages.js';
import { type AnyFormRequest, type FormContext, type OnRequestCallback, type PluginOptions } from '../../../../server/plugins/engine/types.js';
import { type FormRequest, type FormResponseToolkit } from '../../../../server/routes/types.js';
export declare function redirectOrMakeHandler(request: AnyFormRequest, h: FormResponseToolkit, onRequest: OnRequestCallback | undefined, makeHandler: (page: PageControllerClass, context: FormContext) => ResponseObject | Promise<ResponseObject>): Promise<symbol | ResponseObject>;
export declare function makeLoadFormPreHandler(server: Server, options: PluginOptions): (request: AnyFormRequest, h: ResponseToolkit) => Promise<symbol>;
export declare function dispatchHandler(request: FormRequest, h: FormResponseToolkit): ResponseObject;
