import { ObjectStorageOperationOptions } from './AbstractObjectStorageProvider'; export type ObjectStorageFailure = Error & { objectStorage?: { objectId?: string; key?: string; uploadId?: string; committed?: boolean; }; cleanupError?: unknown; }; export declare function storageError(cause: unknown, details: NonNullable): ObjectStorageFailure; export declare function withRequest(options: ObjectStorageOperationOptions, operation: (signal: AbortSignal) => Promise, checkAfter?: boolean): Promise; export declare function validateOperationOptions(options: ObjectStorageOperationOptions): void;