import { Quote } from './api/Quote'; import { Recipient } from './api/Recipient'; import { Transaction } from './api/Transaction'; import { OffRamp } from './api/OffRamp'; import { OnRamp } from './api/OnRamp'; import { JWT } from './api/JWT'; import { Prices } from './api/Prices'; import { Balances } from './api/Balances'; import { JWTAuthConfig } from './types/jwt'; /** * 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'; export * from './types/offramp'; export * from './types/onramp'; export * from './types/jwt'; export * from './types/prices'; export * from './types/balances'; export * from './errors'; export { Quote } from './api/Quote'; export { Recipient } from './api/Recipient'; export { Transaction, type PollingOptions } from './api/Transaction'; export { OffRamp, type OffRampPollingOptions } from './api/OffRamp'; export { OnRamp, type OnRampPollingOptions } from './api/OnRamp'; export { JWT } from './api/JWT'; export { Prices } from './api/Prices'; export { Balances } from './api/Balances'; export { UniversalHttpClient, type RequestConfig, type HttpClientConfig } from './http/client'; export { HmacAuthenticator } from './auth/hmac'; export { JWTAuthenticator } from './auth/jwt'; export default OrdaSDK; //# sourceMappingURL=index.d.ts.map