11 lines
751 B
TypeScript
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
|