import { type WorkspaceAppAccessCheck, type WorkspaceAppAccessOutcome } from "./workspace-app-access-outcome.js"; export { WORKSPACE_APP_ACCESS_UNAVAILABLE, WORKSPACE_APP_ACCESS_UNAVAILABLE_MESSAGE, isWorkspaceAppAccessUnavailable, workspaceAppAccessUnavailableBody, type WorkspaceAppAccessCheck, type WorkspaceAppAccessOutcome, type WorkspaceAppAccessUnavailable, type WorkspaceAppAccessUnavailableReason, } from "./workspace-app-access-outcome.js"; export interface WorkspaceAppAccessContext { email: string; orgId?: string | null; } export declare function isStandaloneDispatchRuntime(): boolean; export declare function claimWorkspaceAppForOrganization(appId: string, context: WorkspaceAppAccessContext): Promise; /** * Keeps the contract this function has always had: `true`, `false`, or the * `"unavailable"` sentinel. Use `checkWorkspaceAppAccess` to learn why a verdict * could not be reached. */ export declare function isWorkspaceAppAccessAllowed(appId: string, context: WorkspaceAppAccessContext): Promise; export declare function checkWorkspaceAppAccess(appId: string, context: WorkspaceAppAccessContext): Promise;