/** * Treat DELETE 404 as idempotent success. For an outcome-unknown mutation, * point-read the workspace and accept only an authoritative missing result. * Definitive mutation failures are preserved without reconciliation. */ export declare function deleteWorkspaceWithReconciliation(input: { deleteWorkspace: () => Promise; readWorkspace: () => Promise; }): Promise; /** Reconcile organization-admin deletion through its content-blind overview. */ export declare function deleteOrganizationWorkspaceWithReconciliation(input: { client: { deleteOrganizationWorkspace: (organizationId: string, workspaceId: string) => Promise; getOrganizationAdministrationOverview: (organizationId: string) => Promise<{ workspaces: readonly { id: string; }[]; }>; }; organizationId: string; workspaceId: string; }): Promise<{ workspaces: readonly { id: string; }[]; } | null>; /** * Once deletion is authoritative, refresh and navigation are best-effort * follow-up work. Attempt both, but never turn their failure into a mutation * failure that invites the user to retry an already-committed deletion. */ export declare function completeWorkspaceDeletionFollowUp(input: { refreshAccess: () => Promise; navigate: () => Promise; }): Promise<{ status: "completed"; } | { status: "failed"; error: unknown; }>;