/** Redacts URL userinfo, sensitive query values and common npm token syntax. */
export declare function sanitizeOutput(text: string): string;
/** Keeps complete sanitized lines without publishing credential fragments between chunks. */
export declare function createJobOutput(lines: string[], changed: () => void): {
    /** Decodes complete logical lines while bounding even unterminated output. */
    write(text: string): void;
    /** Flushes final output only after stream ownership ends. */
    finish(): void;
};
//# sourceMappingURL=output.d.ts.map