import { ReactNode } from 'react'; import { SignatureContextType } from './SignatureProvider'; import { WithRenderProps } from '../../internal/types'; type SignatureButtonProps = WithRenderProps<{ /** CSS class to apply to the button */ className?: string; /** Whether the button is disabled */ disabled?: boolean; /** Text displayed on the button in pending state */ label?: ReactNode; /** Text displayed when signature fails */ errorLabel?: ReactNode; /** Text displayed after successful signature */ successLabel?: ReactNode; /** Text displayed while waiting for signature */ pendingLabel?: ReactNode; /** Text displayed when wallet is disconnected */ disconnectedLabel?: ReactNode; /** Custom render function for complete control of button rendering */ render?: ({ label, onClick, context, }: { label: ReactNode; onClick: () => void; context: SignatureContextType; }) => ReactNode; }>; export declare function SignatureButton({ className, disabled, label, errorLabel, successLabel, pendingLabel, disconnectedLabel, render, }: SignatureButtonProps): string | number | bigint | boolean | Iterable | Promise> | Iterable | null | undefined> | import("react/jsx-runtime").JSX.Element | null | undefined; export {}; //# sourceMappingURL=SignatureButton.d.ts.map