//#region packages/fs-safe/dist/secret-file.d.ts
type SecretFileReadOptions = {
  maxBytes?: number;
  rejectSymlink?: boolean;
  rejectHardlinks?: boolean;
};
declare function readSecretFileSync$1(filePath: string, label: string, options?: SecretFileReadOptions): string;
//#endregion
//#region src/infra/secret-file.d.ts
declare const DEFAULT_SECRET_FILE_MAX_BYTES: any;
declare const PRIVATE_SECRET_DIR_MODE: any;
declare const PRIVATE_SECRET_FILE_MODE: any;
declare function readSecretFileSync(...args: any[]): any;
declare function tryReadSecretFileSync(...args: any[]): any;
declare function writePrivateSecretFileAtomic(...args: any[]): any;
type SecretFileReadResult = {
  ok: true;
  secret: string;
  resolvedPath: string;
} | {
  ok: false;
  message: string;
  resolvedPath?: string;
  error?: unknown;
};
/** @deprecated Use readSecretFileSync() or tryReadSecretFileSync(). */
declare function loadSecretFileSync(filePath: string, label: string, options?: Parameters<typeof readSecretFileSync$1>[2]): SecretFileReadResult;
//#endregion
export { loadSecretFileSync as a, writePrivateSecretFileAtomic as c, SecretFileReadResult as i, SecretFileReadOptions as l, PRIVATE_SECRET_DIR_MODE as n, readSecretFileSync as o, PRIVATE_SECRET_FILE_MODE as r, tryReadSecretFileSync as s, DEFAULT_SECRET_FILE_MAX_BYTES as t };