import { type ClipboardWriter } from '../clipboard'; export interface UseCopyDepositAddressParams { copyToClipboard: ClipboardWriter; /** Reports a successful write with its optional confirmation label. */ onCopySuccess: (label?: string) => void; /** Copy the address automatically while enabled, including when it changes. */ autoCopyAddress: boolean; /** Undefined while it's still generating. */ address: string | undefined; } /** * The Copy buttons' clipboard write + toast, plus the auto-copy when Transfer * opens and whenever the address changes. * * The returned write never rejects; `false` means the value wasn't copied. */ export declare function useCopyDepositAddress({ copyToClipboard, onCopySuccess, autoCopyAddress, address, }: UseCopyDepositAddressParams): (value: string, label?: string) => Promise; //# sourceMappingURL=useCopyDepositAddress.d.ts.map