export { EXT_TO_MIME, mimeTypeFromExt, isTextMimeType, extFromPath, storagePathFor, } from '@doubling/types'; export type StorageData = string | Buffer | Uint8Array | ArrayBuffer | null | undefined; export declare function contentByteSize(data: StorageData): number; export declare function toBytes(data: StorageData): Buffer; export declare function computeContentHash(data: StorageData): string; export interface DocIdInput { scope: string; teamId?: string | null; ownerId?: string | null; path: string; } export declare function folderDocId({ scope, teamId, ownerId, path }: DocIdInput): string; export declare function fileDocId({ scope, teamId, ownerId, path }: DocIdInput): string; //# sourceMappingURL=storage-helpers.d.ts.map