import { ControllerType, type Page } from '@defra/forms-model';
import { type FormModel } from '~/src/server/plugins/engine/models/index.js';
import * as PageControllers from '~/src/server/plugins/engine/pageControllers/index.js';
export declare function isPageController(controllerName?: string | ControllerType): controllerName is keyof typeof PageControllers;
export type PageControllerClass = InstanceType<PageControllerType>;
export type PageControllerType = (typeof PageControllers)[keyof typeof PageControllers];
/**
 * Creates page instance for each {@link Page} type
 */
export declare function createPage(model: FormModel, pageDef: Page): PageControllerClass;
