Files
alrahma_sunday_school_api/apps/api/dist/lib/storage.d.ts
T
2026-06-11 03:22:12 -04:00

11 lines
751 B
TypeScript

export type StorageVisibility = 'public' | 'private';
export declare function getStorageRoot(): string;
export declare function getPublicStorageRoot(): string;
export declare function getPrivateStorageRoot(): string;
export declare function getLegacyStorageRoots(): string[];
export declare function assertStorageConfiguration(): string;
export declare function getProtectedCustomerLicenseImageUrl(customerId: string): string;
export declare function uploadImage(buffer: Buffer, folder: string, publicId?: string, visibility?: StorageVisibility): Promise<string>;
export declare function resolveStoredFilePath(imageUrl: string): string | null;
export declare function deleteImage(imageUrl: string): Promise<void>;
//# sourceMappingURL=storage.d.ts.map