/** * Elevated Permissions Module - v1.0.0 * Elevation mode management with allowed commands, auto-revoke, and audit log. */ export type ElevationMode = 'off' | 'ask' | 'on'; export interface ElevationAuditEntry { timestamp: number; action: 'elevate' | 'revoke' | 'execute' | 'deny'; command?: string; reason?: string; } export declare class ElevatedManager { private mode; private elevated; private allowedCommands; private auditLog; private revokeTimer?; private autoRevokeMs; constructor(options?: { mode?: ElevationMode; allowedCommands?: (string | RegExp)[]; autoRevokeMs?: number; }); getMode(): ElevationMode; setMode(mode: ElevationMode): void; isElevated(): boolean; addAllowedCommand(pattern: string | RegExp): void; isCommandAllowed(command: string): boolean; elevate(reason?: string): boolean; revoke(reason?: string): void; canExecute(command: string): { allowed: boolean; needsElevation: boolean; }; getAuditLog(): ElevationAuditEntry[]; clearAuditLog(): void; private startAutoRevoke; private clearAutoRevoke; destroy(): void; } //# sourceMappingURL=elevated.d.ts.map