import { BaseApp } from "./core/base.js";
import { Command } from "./tools/cli/command.js";
export declare const Version: string;
export type PocketBaseConfig = {
    HideStartBanner?: boolean;
    DefaultDev?: boolean;
    DefaultDataDir?: string;
    DefaultEncryptionEnv?: string;
    DefaultQueryTimeout?: number;
    DataMaxOpenConns?: number;
    DataMaxIdleConns?: number;
    AuxMaxOpenConns?: number;
    AuxMaxIdleConns?: number;
    DBConnect?: unknown;
    dataDir?: string;
    encryptionEnv?: string;
    isDev?: boolean;
};
export type Config = PocketBaseConfig;
export declare class PocketBase extends BaseApp {
    RootCmd: Command;
    App: BaseApp;
    devFlag: boolean;
    dataDirFlag: string;
    encryptionEnvFlag: string;
    queryTimeout: number;
    hideStartBanner: boolean;
    constructor(config?: PocketBaseConfig);
    Start(): Promise<Error | null>;
    Execute(): Promise<Error | null>;
    private skipBootstrap;
}
export declare function New(): PocketBase;
export declare function NewWithConfig(config: PocketBaseConfig): PocketBase;
