import { AuthCheckContextLoaderKeys } from '../../domain/loaders.js'; import { DashboardContext, MaybeUserContext } from '../../domain/context.js'; import { DashboardNotFoundError, DashboardsNotEnabledError, ServerNoAccessError, ServerNoSessionError, ServerNotEnoughPermissionsError, WorkspaceNotEnoughPermissionsError, WorkspacePlanNoFeatureAccessError } from '../../domain/authErrors.js'; import { AuthPolicy } from '../../domain/policies.js'; type PolicyLoaderKeys = typeof AuthCheckContextLoaderKeys.getEnv | typeof AuthCheckContextLoaderKeys.getServerRole | typeof AuthCheckContextLoaderKeys.getAdminOverrideEnabled | typeof AuthCheckContextLoaderKeys.getDashboard | typeof AuthCheckContextLoaderKeys.getWorkspaceRole | typeof AuthCheckContextLoaderKeys.getWorkspacePlan; type PolicyArgs = MaybeUserContext & DashboardContext; type PolicyErrors = InstanceType; export declare const canReadDashboardPolicy: AuthPolicy; export {}; //# sourceMappingURL=canRead.d.ts.map