/** * Tinybird Workspace API client */ /** * Workspace information from Tinybird API */ export interface TinybirdWorkspace { /** Workspace ID (UUID) */ id: string; /** Workspace name */ name: string; /** User ID of the workspace owner */ user_id: string; /** Email of the workspace owner */ user_email: string; /** Workspace scope */ scope: string; /** Main branch (null for main workspace) */ main: string | null; } /** * API configuration for workspace operations */ export interface WorkspaceApiConfig { /** Tinybird API base URL */ baseUrl: string; /** Workspace token */ token: string; } /** * Error thrown by workspace API operations */ export declare class WorkspaceApiError extends Error { readonly status: number; readonly body?: unknown | undefined; constructor(message: string, status: number, body?: unknown | undefined); } /** * Get workspace information * GET /v1/workspace * * @param config - API configuration * @returns Workspace information */ export declare function getWorkspace(config: WorkspaceApiConfig): Promise; //# sourceMappingURL=workspaces.d.ts.map