import { SignMessageParameters, SignTypedDataParameters } from 'wagmi/actions'; import { APIError } from '../../api/types'; import { LifecycleStatus } from '../types'; export type SignatureProps = { chainId?: number; className?: string; onSuccess?: (signature: string) => void; onStatus?: (status: LifecycleStatus) => void; onError?: (error: APIError) => void; resetAfter?: number; } & ({ message: SignTypedDataParameters['message']; domain?: SignTypedDataParameters['domain']; types: SignTypedDataParameters['types']; primaryType: SignTypedDataParameters['primaryType']; } | { message: SignMessageParameters['message']; domain?: never; types?: never; primaryType?: never; }) & ({ children: React.ReactNode; label?: never; disabled?: never; } | { children?: never; label?: React.ReactNode; disabled?: boolean; }); export declare function Signature({ className, domain, types, message, primaryType, children, label, disabled, onSuccess, onStatus, onError, resetAfter, }: SignatureProps): import("react/jsx-runtime").JSX.Element | null; //# sourceMappingURL=Signature.d.ts.map