import type { ITerminal } from '@rushstack/terminal'; import type { RushConfigurationProject } from '../api/RushConfigurationProject'; export interface ITarOptionsBase { logFilePath: string; } export interface IUntarOptions extends ITarOptionsBase { archivePath: string; outputFolderPath: string; } export interface ICreateArchiveOptions extends ITarOptionsBase { archivePath: string; paths: string[]; project: RushConfigurationProject; /** * The folder that `paths` are relative to, and that the archive's members are named from. Defaults to the * project folder. */ baseFolderPath?: string; /** When aborted, kills the tar process, which then exits with a nonzero code. */ abortSignal?: AbortSignal; } export declare class TarExecutable { #private; private constructor(); static tryInitializeAsync(terminal: ITerminal): Promise; /** * @returns * The "tar" exit code */ tryUntarAsync(options: IUntarOptions): Promise; /** * @returns * The "tar" exit code */ tryCreateArchiveFromProjectPathsAsync(options: ICreateArchiveOptions): Promise; } //# sourceMappingURL=TarExecutable.d.ts.map