import type { ApprovalRow } from './approval.schema'; import type { AuditRow } from './audit.schema'; export interface AuditPresentation { title: string; description: string; category: 'auth_required' | 'audit'; status?: string; chatId: string | null; threadId: string | null; thread: string | null; about: string | null; authUrl: string | null; authMethod: string | null; authMessage: string | null; actorRoleLabel: string; } type RelatedApproval = Pick | null | undefined; export declare function buildAuditDetailRecord(audit: AuditRow, relatedApproval?: RelatedApproval): Record; export declare function formatInboxStatusLabel(status?: string | null): string | null; export declare function formatAuditActorRole(role?: string | null): string; export declare function createResolvedAuthTimestampsIndex(audits: AuditRow[]): Map; export declare function buildAuditPresentation(audit: AuditRow, resolvedAuthTimestampsByKey: Map, relatedApproval?: RelatedApproval): AuditPresentation; export {};