import { AddItemDataType } from '../types'; /** * Checks if this is a built in file that could * be ignored when returning results to a client * * @param pathOrName The name of the path or file */ export declare const isMetaFileName: (pathOrName: string) => boolean; export declare const FileEncryptionKeyLength: number; export declare const decodeFileEncryptionKey: (key: string) => Uint8Array; export declare const encodeFileEncryptionKey: (key: Uint8Array) => string; export declare const generateFileEncryptionKey: () => string; /** * Encrypts the data and returns a readable stream to read the encrypted data * */ export declare const newEncryptedDataWriter: (data: AddItemDataType, key: Uint8Array) => AsyncIterable; /** * Returns an async iterable of decoded bytes. * */ export declare const newDecryptedDataReader: (data: AsyncIterableIterator, key: Uint8Array) => AsyncIterableIterator;