import { z } from "zod"; import type { OmniAddress } from "./types/index.js"; declare const ChainSchema: z.ZodEnum<{ Eth: "Eth"; Near: "Near"; Sol: "Sol"; Arb: "Arb"; Base: "Base"; Bnb: "Bnb"; Btc: "Btc"; Zcash: "Zcash"; }>; export type Chain = z.infer; declare const UtxoChainParamSchema: z.ZodEnum<{ btc: "btc"; zcash: "zcash"; }>; export type UtxoChainParam = z.infer; declare const TransfersQuerySchema: z.ZodObject<{ sender: z.ZodOptional; transaction_id: z.ZodOptional; offset: z.ZodDefault; limit: z.ZodDefault; }, z.core.$strip>; export type TransfersQuery = Partial>; declare const TransferSchema: z.ZodObject<{ id: z.ZodNullable; kind: z.ZodUnion, z.ZodObject<{ Utxo: z.ZodObject<{ tx_hash: z.ZodString; vout: z.ZodNumber; }, z.core.$strip>; }, z.core.$strip>]>; }, z.core.$strip>>>; initialized: z.ZodUnion>; EVMLog: z.ZodOptional>; Solana: z.ZodOptional; block_timestamp_seconds: z.ZodOptional; signature: z.ZodOptional; }, z.core.$strip>>; UtxoLog: z.ZodOptional; block_time: z.ZodNullable; }, z.core.$strip>>; }, z.core.$strip>]>; signed: z.ZodUnion>; EVMLog: z.ZodOptional>; Solana: z.ZodOptional; block_timestamp_seconds: z.ZodOptional; signature: z.ZodOptional; }, z.core.$strip>>; UtxoLog: z.ZodOptional; block_time: z.ZodNullable; }, z.core.$strip>>; }, z.core.$strip>]>; fast_finalised_on_near: z.ZodUnion>; EVMLog: z.ZodOptional>; Solana: z.ZodOptional; block_timestamp_seconds: z.ZodOptional; signature: z.ZodOptional; }, z.core.$strip>>; UtxoLog: z.ZodOptional; block_time: z.ZodNullable; }, z.core.$strip>>; }, z.core.$strip>]>; finalised_on_near: z.ZodUnion>; EVMLog: z.ZodOptional>; Solana: z.ZodOptional; block_timestamp_seconds: z.ZodOptional; signature: z.ZodOptional; }, z.core.$strip>>; UtxoLog: z.ZodOptional; block_time: z.ZodNullable; }, z.core.$strip>>; }, z.core.$strip>]>; fast_finalised: z.ZodUnion>; EVMLog: z.ZodOptional>; Solana: z.ZodOptional; block_timestamp_seconds: z.ZodOptional; signature: z.ZodOptional; }, z.core.$strip>>; UtxoLog: z.ZodOptional; block_time: z.ZodNullable; }, z.core.$strip>>; }, z.core.$strip>]>; finalised: z.ZodUnion>; EVMLog: z.ZodOptional>; Solana: z.ZodOptional; block_timestamp_seconds: z.ZodOptional; signature: z.ZodOptional; }, z.core.$strip>>; UtxoLog: z.ZodOptional; block_time: z.ZodNullable; }, z.core.$strip>>; }, z.core.$strip>]>; claimed: z.ZodUnion>; EVMLog: z.ZodOptional>; Solana: z.ZodOptional; block_timestamp_seconds: z.ZodOptional; signature: z.ZodOptional; }, z.core.$strip>>; UtxoLog: z.ZodOptional; block_time: z.ZodNullable; }, z.core.$strip>>; }, z.core.$strip>]>; transfer_message: z.ZodUnion; msg: z.ZodNullable; }, z.core.$strip>]>; updated_fee: z.ZodArray>; EVMLog: z.ZodOptional>; Solana: z.ZodOptional; block_timestamp_seconds: z.ZodOptional; signature: z.ZodOptional; }, z.core.$strip>>; UtxoLog: z.ZodOptional; block_time: z.ZodNullable; }, z.core.$strip>>; }, z.core.$strip>>; utxo_transfer: z.ZodUnion; btc_pending_id: z.ZodOptional; }, z.core.$strip>]>; }, z.core.$strip>; declare const ApiFeeResponseSchema: z.ZodObject<{ native_token_fee: z.ZodPipe, z.ZodBigInt | z.ZodNullable>; gas_fee: z.ZodOptional, z.ZodBigInt | z.ZodNullable>>>; protocol_fee: z.ZodOptional, z.ZodBigInt | z.ZodNullable>>>; usd_fee: z.ZodNumber; transferred_token_fee: z.ZodOptional>; min_amount: z.ZodOptional>; insufficient_utxo: z.ZodBoolean; }, z.core.$strip>; declare const PostActionSchema: z.ZodObject<{ receiver_id: z.ZodString; amount: z.ZodString; msg: z.ZodString; gas: z.ZodOptional; memo: z.ZodOptional>; }, z.core.$strip>; declare const UtxoDepositAddressResponseSchema: z.ZodObject<{ address: z.ZodString; }, z.core.$strip>; declare const TransferStatusSchema: z.ZodEnum<{ Initialized: "Initialized"; Signed: "Signed"; FastFinalisedOnNear: "FastFinalisedOnNear"; FinalisedOnNear: "FinalisedOnNear"; FastFinalised: "FastFinalised"; Finalised: "Finalised"; Claimed: "Claimed"; }>; export type Transfer = z.infer; export type ApiFeeResponse = z.infer; export type TransferStatus = z.infer; export type PostAction = z.infer; export type UtxoDepositAddressResponse = z.infer; interface ApiClientConfig { baseUrl?: string; } export declare class OmniBridgeAPI { private readonly baseUrl; constructor(config?: ApiClientConfig); getDefaultBaseUrl(): string; private fetchWithValidation; private buildUrl; getTransferStatus(options: { originChain: Chain; originNonce: number; } | { transactionHash: string; }): Promise; getFee(sender: OmniAddress, recipient: OmniAddress, tokenAddress: OmniAddress, amount: string | bigint): Promise; getTransfer(options: { originChain: Chain; originNonce: number; } | { transactionHash: string; }): Promise; findOmniTransfers(query: TransfersQuery): Promise; getAllowlistedTokens(): Promise>; getUtxoUserDepositAddress(chain: UtxoChainParam, recipient: string, postActions?: PostAction[] | null, extraMsg?: string | null): Promise; } export {}; //# sourceMappingURL=api.d.ts.map