UNPKG

evermark-sdk

Version:

Unified SDK for robust image handling and content management with storage orchestration

28 lines 857 B
import type { TransferResult, StorageConfig, SupabaseUploadOptions } from '../core/types.js'; export declare class SupabaseStorageClient { private config; private client; private bucketName; constructor(config: StorageConfig['supabase']); /** * Upload file to Supabase Storage with progress tracking */ uploadFile(file: File | Blob, path: string, options?: SupabaseUploadOptions): Promise<TransferResult>; /** * Check if file exists in Supabase Storage */ fileExists(path: string): Promise<boolean>; /** * Get public URL for a file path */ getPublicUrl(path: string): string; /** * Test Supabase connection */ testConnection(): Promise<{ success: boolean; error?: string; latency?: number; }>; } //# sourceMappingURL=supabase-client.d.ts.map