import { AuthCheckContextLoaderKeys } from '../../domain/loaders.js'; import { DashboardContext, MaybeUserContext } from '../../domain/context.js'; import { DashboardNotFoundError, DashboardNotOwnerError, DashboardsNotEnabledError, WorkspaceNoEditorSeatError, 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.getWorkspacePlan | typeof AuthCheckContextLoaderKeys.getWorkspaceRole | typeof AuthCheckContextLoaderKeys.getWorkspaceSeat; type PolicyArgs = MaybeUserContext & DashboardContext; type PolicyErrors = InstanceType; export declare const canDeleteDashboardPolicy: AuthPolicy; export {}; //# sourceMappingURL=canDelete.d.ts.map