import type { SupportedCurrencies } from '../../entities/index.ts'; import type { Locale } from '../index.ts'; import { type HttpClientType } from '../httpExternal/omyClient'; export type ShareGroopOrderStatus = 'initiated' | 'confirmed' | 'pendingCommit' | 'completed' | 'refunded' | 'canceled'; export type ShareGroopOrder = { id: string; platformId: string; amount: number; amountAuthorized: number; amountVoided: number; amountConfirmed: number; amountCaptured: number; amountRefunded: number; delay: number; dueDate: number; secure3D: boolean; currency: SupportedCurrencies; locale: Locale; ux: string; type: string; status: ShareGroopOrderStatus; createdAt: number; email: string; firstName: string; lastName: string; trackId: string; items: { id: string; name: string; amount: number; quantity: number; trackId: string; description: string; }[]; metadata: { house_id: string; }; }; export declare class ShareGroop { private httpOptions; private http; private apiUrl; static SUCCESSFUL_STATUSES: ShareGroopOrderStatus[]; constructor(provider: { apiUrl: string; apiKey: string; httpClientType: HttpClientType; }); getOrderById(orderId: string): Promise; }