/**
 * @license
 * Copyright 2026 Amodal Labs, Inc.
 * SPDX-License-Identifier: MIT
 */
export { DEFAULT_STUDIO_CAPABILITIES, VIEW_ONLY_STUDIO_CAPABILITIES, mergeStudioCapabilities, } from "./capability-shape.js";
export type { StudioCapabilities, StudioCapabilitiesInput, } from "./capability-shape.js";
import { type StudioCapabilities, type StudioCapabilitiesInput } from "./capability-shape.js";
export type StudioCapability = "general.read" | "general.write" | "source.read" | "source.write" | "domains.read" | "domains.write" | "apiKeys.read" | "apiKeys.write" | "team.read" | "team.write" | "files.proposeChanges" | "deploys.promote" | "deploys.manage" | "evals.run" | "secrets.read" | "secrets.write" | "automations.read" | "automations.run" | "automations.write" | "setup.run" | "memory.write" | "feedback.review" | "activity.read";
export type StudioCapabilityResolver = (req: Request) => StudioCapabilitiesInput | Promise<StudioCapabilitiesInput>;
export declare function setStudioCapabilityResolver(resolver: StudioCapabilityResolver | null): void;
export declare function resolveStudioCapabilities(req: Request): Promise<StudioCapabilities>;
export declare function hasStudioCapability(capabilities: StudioCapabilities, capability: StudioCapability): boolean;
export declare function requireStudioCapability(req: Request, capability: StudioCapability): Promise<Response | null>;
