import { type Credentials } from './config.js'; export interface WorkspaceContext { credentials: Credentials; workspaceId: string; apiUrl: string; profile: string; } export declare function requireWorkspaceContext(opts?: { profile?: string; }): WorkspaceContext; /** Query params required by integrations/apps REST endpoints (matches Workbench). */ export declare function workspaceAuthQuery(ctx: WorkspaceContext, extra?: Record): Record;