/**
 * Contains all the response types for open ux calls
 */
export declare type ValidationErrors = Array<{
    errorKey: string;
    path: string;
}>;
export interface BadRequestResponse {
    error?: string;
    errorKey?: string;
    validationErrors?: ValidationErrors;
}
export declare type UserSaveResponse = {
    formStatus: string;
    resumeUrl: string;
    redirectUrl?: string;
} & BadRequestResponse;
export declare type UserSubmitResponse = {
    formStatus: string;
    redirectUrl?: string;
} & BadRequestResponse;
export declare type UserCancelResponse = {
    formStatus: string;
    redirectUrl?: string;
} & BadRequestResponse;
export declare type FormErrorResponse = {
    formStatus: string;
} & BadRequestResponse;
export declare type FormInitResponse = {
    formStatus: string;
} & BadRequestResponse;
export declare type FormUpdateResponse = {
    formStatus: string;
    formData?: any;
    revisionNumber?: number;
    redirectUrl?: string;
} & BadRequestResponse;
export declare type FormFunctionResponse = {
    data: any;
} & BadRequestResponse;
export declare type FormIneligibleResponse = {
    formStatus: string;
    redirectUrl?: string;
} & BadRequestResponse;
export declare type FormNewResponse = {
    formStatus: string;
    requestKey: string;
} & BadRequestResponse;
export declare type FormLoadResponse = {
    formStatus: string;
    formData: any;
    redirectUrl?: string;
} & BadRequestResponse;
export declare type FormStartResponse = {
    formStatus: string;
    formData: any;
    redirectUrl?: string;
} & BadRequestResponse;
