//#region src/infra/tmp-nodmix-dir.d.ts
declare const POSIX_NODMIX_TMP_DIR = "/tmp/openclaw";
type SecureDirStat = {
  isDirectory(): boolean;
  isSymbolicLink(): boolean;
  mode?: number;
  uid?: number;
};
type ResolvePreferredNodmixTmpDirOptions = {
  accessSync?: (path: string, mode?: number) => void;
  chmodSync?: (path: string, mode: number) => void;
  getuid?: () => number | undefined;
  lstatSync?: (path: string) => SecureDirStat;
  mkdirSync?: (path: string, opts: {
    recursive: boolean;
    mode?: number;
  }) => void;
  platform?: NodeJS.Platform;
  tmpdir?: () => string;
  warn?: (message: string) => void;
};
declare function resolvePreferredNodmixTmpDir(options?: ResolvePreferredNodmixTmpDirOptions): string;
//#endregion
export { ResolvePreferredNodmixTmpDirOptions as n, resolvePreferredNodmixTmpDir as r, POSIX_NODMIX_TMP_DIR as t };