import { type FormMetadata, type SubmitResponsePayload } from '@defra/forms-model';
import { type checkFormStatus } from '~/src/server/plugins/engine/helpers.js';
import { type FormModel } from '~/src/server/plugins/engine/models/index.js';
import { type DetailItem } from '~/src/server/plugins/engine/models/types.js';
import { format as formatAdapterV1 } from '~/src/server/plugins/engine/outputFormatters/adapter/v1.js';
import { type FormContext } from '~/src/server/plugins/engine/types.js';
type Formatter = (context: FormContext, items: DetailItem[], model: FormModel, submitResponse: SubmitResponsePayload, formStatus: ReturnType<typeof checkFormStatus>, formMetadata?: FormMetadata) => string;
export declare function getFormatter(audience: string, version: string): Formatter | typeof formatAdapterV1;
export {};
