import { type FormDefinition } from '@defra/forms-model'; import { plugin } from '~/src/server/plugins/engine/plugin.js'; import { type PluginOptions } from '~/src/server/plugins/engine/types.js'; import { type CacheService } from '~/src/server/services/cacheService.js'; import { type RouteConfig } from '~/src/server/types.js'; export declare const configureEnginePlugin: ({ formFileName, formFilePath, services, controllers, preparePageEventRequestOptions, onRequest, saveAndExit, ordnanceSurveyApiKey, ordnanceSurveyApiSecret }?: RouteConfig, cache?: CacheService) => Promise<{ plugin: typeof plugin; options: PluginOptions; }>; export declare function getForm(importPath: string): Promise;