export declare const REDACTED = "[redacted]"; /** Only explicitly public configuration names may bypass value scrubbing; credentials never may. */ export declare function isPublicEnvName(name: string): boolean; /** Private `.env` values worth scrubbing (short ones would blank ordinary words). */ export declare function secretValues(secrets: Record, publicEnv?: readonly string[]): string[]; /** A deep copy of `value` with every secret value replaced, raw or JSON-escaped, in every string. */ export declare function scrubSecrets(value: T, secrets: Record | string[]): T; /** A deep copy with command lines and environments dropped and every `headers` object redacted. */ export declare function redactUpload(value: T): T; /** At most `maxBytes` of UTF-8, cut on a character boundary. */ export declare function capText(text: string, maxBytes: number): { text: string; truncated: boolean; bytes: number; }; /** `ada@example.com` → `a…@example.com` in `text`: enough to tell two logins apart, not to write to anyone. */ export declare function maskEmails(text: string): string; /** * A runner's or account's readiness as the cloud may see it: no paths (the CLI's binary, the account's directory), * emails masked. */ export declare function readinessForUpload(readiness: object): Record; /** What runs taught about an account (`jobs/.accounts.json`), as the cloud may see it. */ export declare function accountStateForUpload(state: object): Record; /** One account of `collectAccounts` as the cloud may see it: its directory and the readiness's paths stay home. */ export declare function accountViewForUpload(view: object): Record;