import type { RedisClient } from '../session/session-store.js'; import type { StagedUploadConsumeResult, StagedUploadRecord } from './types.js'; export declare class StagedUploadStore { private readonly redis; private readonly keyPrefix; constructor(redis: RedisClient, keyPrefix?: string); private fullKey; assertRateLimit(userId: string): Promise; createPending(params: { userId: string; fileName: string; mimeType: string; byteLength?: number; }): Promise; storeFile(userId: string, uploadId: string, buffer: Buffer, mimeType: string): Promise; consume(userId: string, uploadId: string): Promise; getRecord(userId: string, uploadId: string): Promise; } //# sourceMappingURL=store.d.ts.map