import type { ApiErrorResponse } from '../types.js'; export declare function enableDebug(): void; export declare class ApiError extends Error { statusCode: number; statusText: string; body?: ApiErrorResponse | undefined; constructor(statusCode: number, statusText: string, body?: ApiErrorResponse | undefined); } /** * Print a friendly error message to stderr and exit. */ export declare function handleApiError(err: unknown): never; export declare const agent: { me: () => Promise; tokensCreated: (page?: number, pageSize?: number) => Promise; tokenCreate: (body: import("../types.js").TokenCreateRequest) => Promise; platformConfig: (platform: string) => Promise; validateHandle: (handle: string) => Promise; tokenInfo: (address: string, chain?: string) => Promise; jobStatus: (jobId: string) => Promise; walletBalance: () => Promise; kibiCreditBalance: () => Promise; reloadKibiCredits: () => Promise; disableReload: () => Promise; quota: () => Promise; skills: () => Promise; feesSummary: () => Promise; feesEarnings: (chain: string) => Promise; feesToken: (chain: string, platform: string, tokenAddress: string) => Promise; profileGet: () => Promise; profileCreate: (body: import("../types.js").ProfileCreateRequest) => Promise; profileUpdate: (body: import("../types.js").ProfileUpdateRequest) => Promise; profileSubmit: () => Promise; profileDelete: () => Promise; profileAddUpdate: (body: import("../types.js").ProjectUpdateCreateRequest) => Promise; profileDeleteUpdate: (updateId: string) => Promise; }; export declare const llm: { models: () => Promise; openclawConfig: () => Promise; };