export type Metadata = { name: string; size: number; etag: string; md5Hash: string; contentType: string; bucket: string; metadata: Record; }; export interface IFileObject { get id(): string; writeString(data: string, contentType: string): Promise; writeBase64(data: string, contentType?: string): Promise; setContentType(contentType: string): Promise; url(): Promise; exists(): Promise; } export type IFileObjectFactoryFn = (path: string) => IFileObject; export declare class StubFileObject implements IFileObject { path: string; constructor(path: string); get id(): string; writeString(data: string, contentType: string): Promise; writeBase64(data: string, contentType: string): Promise; setContentType(contentType: string): Promise; url(): Promise; exists(): Promise; }