/**
 * Persist files by extending the time-to-live to 30 days
 * @param {{fileId: string, initiatedRetrievalKey: string}[]} files - batch of files to persist
 * @param {string} persistedRetrievalKey - final retrieval key when submitting
 */
export function persistFiles(files: {
    fileId: string;
    initiatedRetrievalKey: string;
}[], persistedRetrievalKey: string): Promise<{
    res: import("http").IncomingMessage;
    error: object | Error;
    payload?: undefined;
} | {
    res: import("http").IncomingMessage;
    payload: object;
    error?: undefined;
}>;
/**
 * Submit form
 * @param {SubmitPayload} data - submission data
 */
export function submit(data: SubmitPayload): Promise<SubmitResponsePayload | undefined>;
import type { SubmitPayload } from '@defra/forms-model';
import type { SubmitResponsePayload } from '@defra/forms-model';
