/// import { ReturnOfAPICall, Validator as ValidatorRaw, AccountStakeEntry, AccountUnstakeEntry, Token } from "../../../networking/index"; import { ValidatorAddressT, AccountAddressT, ResourceIdentifierT } from "../../../account/index"; import { AmountT } from "../../../primitives/index"; import { RadixError, SimpleExecutedTransaction, TxMessage } from "../../index"; import { Result } from "neverthrow"; export declare const transformUnstakeEntry: (item: AccountUnstakeEntry) => Result<{ validator: ValidatorAddressT; amount: AmountT; epochsUntil: number; }, Error>; export declare const transformUrl: (url: string) => URL | undefined; export declare const transformMessage: (message: string) => Result; export declare const transformTransaction: (transaction: ReturnOfAPICall<"transactionStatusPost">["data"]["transaction"]) => Result; export declare const transformStakeEntry: (stake: AccountStakeEntry) => Result<{ validator: ValidatorAddressT; amount: AmountT; }, RadixError[]>; export declare const transformValidator: (validator: ValidatorRaw) => Result<{ address: ValidatorAddressT; ownerAddress: AccountAddressT; name: string; infoURL?: URL | undefined; totalDelegatedStake: AmountT; ownerDelegation: AmountT; validatorFee: number; registered: boolean; isExternalStakeAccepted: boolean; uptimePercentage: number; proposalsMissed: number; proposalsCompleted: number; }, RadixError[]>; export declare const transformToken: (token: Token) => (values: (ResourceIdentifierT | AmountT)[]) => { name: string; rri: Readonly<{ hash: Buffer; __witness: "isRRI"; network: import("@primitives").Network; name: string; toPrimitive: () => string; equals: (other: Readonly) => boolean; }>; symbol: string; description: string; granularity: AmountT; isSupplyMutable: boolean; currentSupply: AmountT; tokenInfoURL: URL | undefined; iconURL: URL | undefined; }; //# sourceMappingURL=responseHelpers.d.ts.map