import type { ReadableStream as NodeReadableStream } from 'node:stream/web';
type UploadData = Buffer | ArrayBuffer | ReadableStream | NodeReadableStream;
export declare class SessionFileManager {
    sessionId: string;
    private sessionDir;
    private registry;
    constructor(sessionId: string, tempDir: string);
    register(filename: string, realPath: string, opts?: {
        owned?: boolean;
        ttl?: number;
    }): void;
    resolve(filename: string): string | null;
    storeUpload(originalName: string, data: UploadData): Promise<string>;
    destroy(): Promise<void>;
}
export {};
