export declare const POSIX_MINION_TMP_DIR = "/tmp/minion";
type ResolvePreferredMinionTmpDirOptions = {
    accessSync?: (path: string, mode?: number) => void;
    lstatSync?: (path: string) => {
        isDirectory(): boolean;
        isSymbolicLink(): boolean;
        mode?: number;
        uid?: number;
    };
    mkdirSync?: (path: string, opts: {
        recursive: boolean;
        mode?: number;
    }) => void;
    getuid?: () => number | undefined;
    tmpdir?: () => string;
};
/**
 * Resolve the preferred directory for persistent log files.
 * Prefers {stateDir}/logs/ (survives reboots, same dir as config).
 * Falls back to resolvePreferredMinionTmpDir() if state dir is not writable.
 */
export declare function resolvePreferredLogDir(): string;
export declare function resolvePreferredMinionTmpDir(options?: ResolvePreferredMinionTmpDirOptions): string;
export {};
