import type { HttpClient } from "../core/http.js"; import type { OneclawResponse } from "../types.js"; export interface CreateInternalAccountRequest { name: string; description?: string; treasury_wallet_id?: string; } export interface InternalAccountResponse { id: string; org_id: string; user_id: string; treasury_wallet_id?: string; name: string; description?: string; status: string; balances: { asset: string; balance: string; }[]; created_at: string; } export interface CreateTransferRequest { from_account_id: string; to_account_id: string; asset: string; amount: string; memo?: string; } export interface InternalTransferResponse { id: string; org_id: string; from_account_id: string; to_account_id: string; asset: string; amount: string; memo?: string; initiated_by: string; status: string; created_at: string; } export interface LedgerEntryResponse { id: string; account_id: string; counterpart_account_id: string; asset: string; amount: string; direction: "credit" | "debit"; reference_type: string; reference_id: string; memo?: string; created_at: string; } export declare class InternalAccountsResource { private readonly http; constructor(http: HttpClient); create(body: CreateInternalAccountRequest): Promise>; list(): Promise>; get(id: string): Promise>; transfer(body: CreateTransferRequest): Promise>; getLedger(id: string, limit?: number, offset?: number): Promise>; } //# sourceMappingURL=internal-accounts.d.ts.map