import { Disklet } from 'disklet'; import { Memlet } from 'memlet'; import { BaseletConfig } from './types'; export declare function isMemlet(object: Disklet | Memlet): object is Memlet; export declare function getOrMakeMemlet(storage: Disklet | Memlet): Memlet; export declare function getPartitionPath(databaseName: string, partition: string): string; export declare function getBucketPath(databaseName: string, partition: string, bucketName: string | number): string; export declare function getConfigPath(databaseName: string): string; export declare function getConfig(memlet: Memlet, databaseName: string): Promise; export declare function setConfig(memlet: Memlet, databaseName: string, config: BaseletConfig): Promise; export declare function checkAndFormatPartition(partition?: string): string; export declare function checkDatabaseName(databaseName: string): string; export declare function doesDatabaseExist(memlet: Memlet, name: string): Promise; export declare function isPositiveInteger(num: number): boolean;