/** * Every action the trail can hold, by namespace. Register new ones in the * WorkOS dashboard under Audit Logs → Events before the mirror accepts them. */ export declare const AUDIT_ACTIONS: { readonly work_item: readonly ["created", "updated", "deleted", "stage_moved", "transition_rejected", "comment_created", "comment_edited", "comment_deleted", "comment_mentioned", "labels_reconciled"]; readonly run: readonly ["started", "ended", "approved", "dismissed", "retry", "queued", "rejected"]; readonly git: readonly ["commit", "push", "pr_opened"]; readonly agent: readonly ["commit", "push", "pr_opened", "signaled"]; readonly intake: readonly ["config_updated", "binding_updated", "label_route_updated"]; }; export type AuditNamespace = keyof typeof AUDIT_ACTIONS; export type AuditAction = { [Namespace in AuditNamespace]: `factory.${Namespace}.${(typeof AUDIT_ACTIONS)[Namespace][number]}`; }[AuditNamespace]; export declare function isAuditNamespace(value: string): value is AuditNamespace; export declare function auditNamespaces(): AuditNamespace[]; export declare function parseAuditAction(action: string): { namespace: AuditNamespace; leaf: string; } | undefined; export declare function isAuditAction(value: string): value is AuditAction; export declare function auditActionsInNamespaces(namespaces: readonly AuditNamespace[]): string[]; //# sourceMappingURL=actions.d.ts.map