import type { RegistrationSession } from './types.js'; /** Create a new RelayCast workspace, returning the raw provisioning payload. */ export declare function createWorkspace(name: string, baseUrl?: string): Promise>; /** Extract a workspace key from a provisioning payload, tolerating naming variants. */ export declare function extractWorkspaceKey(payload: Record): string | undefined; /** Extract a workspace name from a provisioning payload, falling back to `fallback`. */ export declare function extractWorkspaceName(payload: Record, fallback: string): string; /** Throw a descriptive error when the session has no workspace key configured. */ export declare function requireWorkspaceKey(session: RegistrationSession): void; //# sourceMappingURL=workspace.d.ts.map