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 { type FormContext } from '~/src/server/plugins/engine/types.js';
export declare function format(context: FormContext, items: DetailItem[], model: FormModel, _submitResponse: SubmitResponsePayload, _formStatus: ReturnType<typeof checkFormStatus>, _formMetadata?: FormMetadata): string;
