import { Config } from "../config/schema";
import { Collection } from "./collection";
import { NonArrayObject } from "./types";
/**
 * Main entry point to access collections.
 * Automatically loads user configuration and handles base directory setup.
 */
export declare class MiniDB {
    private config;
    /**
     * Main entry point to access collections.
     * Automatically loads user configuration and handles base directory setup.
     * @param config Configuration options
     */
    constructor(config?: Partial<Config>);
    /**
     * Returns a typed collection by name.
     * @param name Name of the collection
     * @returns {Collection<T>} The collection
     */
    collection<T extends NonArrayObject>(name: string): Collection<T>;
}
