import { WorkspaceFeatureName } from '@/modules/gatekeeper/domain/workspacePricing' import { PlanStatuses, WorkspacePlan, WorkspacePlans } from '@/modules/gatekeeperCore/domain/billing' import { Workspace } from '@/modules/workspacesCore/domain/types' export type CanWorkspaceAccessFeature = (args: { workspaceId: string workspaceFeature: WorkspaceFeatureName }) => Promise export type WorkspaceFeatureAccessFunction = (args: { workspaceId: string }) => Promise export type ChangeExpiredTrialWorkspacePlanStatuses = (args: { numberOfDays: number }) => Promise export type GetWorkspacesByPlanDaysTillExpiry = (args: { daysTillExpiry: number planValidFor: number plan: WorkspacePlans status: PlanStatuses }) => Promise export type GetWorkspacePlanByProjectId = ({ projectId }: { projectId: string }) => Promise