/** `vscode-file://` / `file://` → absolute path on disk (or http URL). */
export declare function normalizeMediaRef(src: string): string | null;
/** One path per file for merge/dedupe (JSONL absolute vs DOM vscode-file://). */
export declare function canonicalizeImagePaths(paths: Iterable<string>): string[];
/** Resolve query `path` from client (absolute path or vscode-file URL). */
export declare function resolveMediaPathParam(rawPath: string): string | null;
export declare function isAllowedMediaPath(filePath: string): boolean;
export declare function readAllowedMediaFile(filePath: string): {
    data: Buffer;
    contentType: string;
} | null;
