import * as React from 'react'; import { OneBlinkFormUncontrolled } from './OneBlinkForm'; declare function OneBlinkAutoSaveForm({ form, initialSubmission, resumeAtElement, autoSaveKey, removeAutoSaveDataBeforeSubmit, removeAutoSaveDataBeforeSaveDraft, disabled, onCancel, onSubmit, onSaveDraft, resumeSectionState, resumePreviousElapsedDurationSeconds, ...props }: React.ComponentProps & { /** Pass a unique key for this submission e.g. the `externalId` the parameter */ autoSaveKey: string; /** * By default, auto save data is removed when the user clicks Submit. If you * would like auto save data to persist and clean up the auto save data later, * pass `false`. */ removeAutoSaveDataBeforeSubmit?: boolean; /** * By default, auto save data is removed when the user clicks Save Draft. If * you would like auto save data to persist and clean up the auto save data * later, pass `false`. */ removeAutoSaveDataBeforeSaveDraft?: boolean; }): import("react/jsx-runtime").JSX.Element; /** * This component is a drop in replacement for {@link OneBlinkForm} with the * addition of auto save happening periodically to prevent users from losing * submission data. * * If you need auto saving with a controlled form, see the * {@link OneBlinkFormControlled} component for a full example. * * @param props * @returns * @group Components */ declare const _default: React.MemoExoticComponent; export default _default;