import type { BrowserResponse } from "./types.js"; export declare function ensureOutputRootDir(rootDir: string): Promise; export declare function resolveWritableOutputPathOrRespond(params: { res: BrowserResponse; rootDir: string; requestedPath: string; scopeLabel: string; defaultFileName?: string; ensureRootDir?: boolean; }): Promise;