import React, { ReactNode } from 'react'; import { ProjectTheme, InitInfo, IWidget, PutFormValuesEnvelope, FormValuesEnvelope, IFormDef } from '@truvity/widget__forms'; declare type EntityId = string; declare type SlotRenderProps = { revision: number; isSubmitting: boolean; showErrors: () => void; }; export declare type WalletFormProps = { autoSave?: boolean; theme: ProjectTheme; entityId: EntityId; defs: IFormDef; convertToApiType: (values: any) => any; getForm: () => Promise; putForm?: (payload: PutFormValuesEnvelope) => Promise; onInit?: (info: InitInfo) => void; footerSlot?: (props: SlotRenderProps) => ReactNode; headerSlot?: (props: SlotRenderProps) => ReactNode; onRevisionMismatch?: () => void; widgets?: IWidget[]; }; export declare const WalletForm: ({ theme, autoSave, entityId, defs, convertToApiType, getForm, putForm, onInit, headerSlot, footerSlot, onRevisionMismatch, widgets, }: WalletFormProps) => React.JSX.Element; export {}; //# sourceMappingURL=WalletForm.d.ts.map