export declare class AdminApiError extends Error { status: number; body: string; constructor(status: number, body: string); } /** * Make an authenticated API request to the Sellable backend. * Optionally scoped to a specific workspace via x-workspaceid header. */ export declare function apiRequest(method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE", path: string, options?: { workspaceId?: string; body?: object; }): Promise; /** * Make the same API call across all configured workspaces. * Returns results keyed by workspace ID. */ export declare function apiRequestAllWorkspaces(method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE", path: string, options?: { body?: object; }): Promise>;