import { Quote } from './api/Quote.js'; import { Recipient } from './api/Recipient.js'; import { Transaction } from './api/Transaction.js'; import { OffRamp } from './api/OffRamp.js'; import { OnRamp } from './api/OnRamp.js'; import { JWT } from './api/JWT.js'; import { Prices } from './api/Prices.js'; import { Balances } from './api/Balances.js'; import { JWTAuthConfig } from './types/jwt.js'; /** * Configuration options for OrdaSDK */ export interface OrdaConfig { clientId: string; clientSecret: string; requestTimeout?: number; enableTimestamp?: boolean; debug?: boolean; } /** * Main SDK class for interacting with Orda API * * Supports both authentication modes: * 1. HMAC: Server-side authentication with clientId/clientSecret * 2. JWT: Client-side authentication with JWT */ export declare class OrdaSDK { private httpClient; private config; quote: Quote; recipients: Recipient; transactions: Transaction; offRamp: OffRamp; onRamp: OnRamp; jwt: JWT; prices: Prices; balances: Balances; constructor(config: OrdaConfig | JWTAuthConfig); updateToken(newToken: string): void; isJWTMode(): boolean; /** * Checks if the SDK is running in a browser environment */ static isBrowser(): boolean; /** * Checks if the SDK is running in Node.js */ static isNode(): boolean; /** * Gets the current SDK version */ static get version(): string; } export * from './types/index.js'; export * from './types/offramp.js'; export * from './types/onramp.js'; export * from './types/jwt.js'; export * from './types/prices.js'; export * from './types/balances.js'; export * from './errors/index.js'; export { Quote } from './api/Quote.js'; export { Recipient } from './api/Recipient.js'; export { Transaction, type PollingOptions } from './api/Transaction.js'; export { OffRamp, type OffRampPollingOptions } from './api/OffRamp.js'; export { OnRamp, type OnRampPollingOptions } from './api/OnRamp.js'; export { JWT } from './api/JWT.js'; export { Prices } from './api/Prices.js'; export { Balances } from './api/Balances.js'; export { UniversalHttpClient, type RequestConfig, type HttpClientConfig } from './http/client.js'; export { HmacAuthenticator } from './auth/hmac.js'; export { JWTAuthenticator } from './auth/jwt.js'; export default OrdaSDK; //# sourceMappingURL=index.d.ts.map