export interface ElevatedSpawnResult { exitCode: number; } export interface RunWithTranscriptOptions { transcriptPath: string; spawn: () => Promise; write: (chunk: string) => void; pollIntervalMs?: number; } export declare function buildElevatedArgs(originalArgs: string[], transcriptPath: string): string[]; export declare function runWithTranscript(options: RunWithTranscriptOptions): Promise; export declare function sweepStaleTranscripts(dir: string, ageMs: number): void; export interface PowerShellElevateOptions { exePath: string; args: string[]; } export declare function spawnElevatedPowerShell(opts: PowerShellElevateOptions): Promise; export declare function newTranscriptPath(): string; export declare function transcriptPattern(): string; //# sourceMappingURL=elevate.d.ts.map