import { PropsWithChildren, type ComponentRef, type ForwardRefExoticComponent, type RefAttributes } from 'react'; import { View } from 'react-native'; import { ButtonProps } from '../../inputs/Button/Button'; /** * Props for the SubmitButton component — every `Button` prop except * `onPress`, which the form owns. * * @public */ export type SubmitButtonProps = Omit; /** * A `Button` that submits the nearest `FormView`. Shares every appearance * prop with `Button` (`variant`, `size`, `tone`, glyphs, `fullWidth`); while * the form is submitting it shows the loading state unless `loading` is set * explicitly. * * @example * ```tsx * * * * * ``` * * @public */ declare const SubmitButton: ForwardRefExoticComponent & RefAttributes>>; export default SubmitButton; //# sourceMappingURL=SubmitButton.d.ts.map