import RequestWithKeyPathNimiq from './request-with-key-path-nimiq'; import { RequestTypeNimiq, Network, AccountTypeNimiq } from '../../constants'; import { NimiqVersion } from '../../../shared/constants'; import { type Nimiq, type NimiqPrimitive } from '../../../shared/load-nimiq'; type Transport = import('@ledgerhq/hw-transport').default; export type TransactionInfoNimiq = { sender: NimiqPrimitive<'Address', Version>; recipient: NimiqPrimitive<'Address', Version>; validityStartHeight: number; network?: Network; flags?: number; } & (Version extends NimiqVersion.ALBATROSS ? { value: bigint; fee?: bigint; senderType?: AccountTypeNimiq; senderData?: Uint8Array; recipientType?: AccountTypeNimiq; recipientData?: Uint8Array; } : { value: number; fee?: number; senderType?: Exclude; recipientType?: Exclude; extraData?: Uint8Array; }); export default class RequestSignTransactionNimiq extends RequestWithKeyPathNimiq> { readonly type: RequestTypeNimiq.SIGN_TRANSACTION; readonly transaction: TransactionInfoNimiq; get minRequiredAppVersion(): string; constructor(nimiqVersion: Version, keyPath: string, transaction: TransactionInfoNimiq, expectedWalletId?: string); call(transport: Transport): Promise>; protected _loadDependencies(): Promise<{ Nimiq: Nimiq; } & Awaited['_loadDependencies']>>>; } export {};