import { type WorkspaceManagement } from "@cargo-ai/api"; export type ResolvedWorkspace = { uuid: string; name: string; }; export type WorkspaceResolution = { workspace: ResolvedWorkspace; /** Callers need this: a new workspace is absent from the caller's token claims. */ wasCreated: boolean; }; export declare function resolveWorkspace(opts: { baseUrl: string; accessToken: string; explicitUuid: string | undefined; explicitName: string | undefined; }): Promise; export declare function findWorkspaceByName(workspaces: readonly WorkspaceManagement.Workspace[], name: string): ResolvedWorkspace | undefined; //# sourceMappingURL=workspace.d.ts.map