export type FormSubmissionState = {
    tag: 'idle';
} | {
    tag: 'submitting';
} | {
    tag: 'succeeded';
} | {
    tag: 'failed';
    message: string;
};
export type FormSubmissionAction = {
    type: 'submission-started';
} | {
    type: 'submission-succeeded';
} | {
    type: 'submission-failed';
    message: string;
};
export declare const initialFormSubmissionState: FormSubmissionState;
export declare function formSubmissionReducer(_state: FormSubmissionState, action: FormSubmissionAction): FormSubmissionState;
