/** Commands for viewing, tailing, and deleting database and table information. Copyright © 2023-present Aral Balkan, Small Technology Foundation. Licensed under GNU AGPL version 3.0. */ import InternalDatabase from '../../InternalDatabase.ts'; import AppDatabase from '../../AppDatabase.ts'; import type { ServerOptions, TailOptions } from '../index.ts'; type Databases = { internalDatabase: InternalDatabase; appDatabase: AppDatabase; domain: string; port: number; }; /** Initialise databases (internal and app). */ export declare function initialiseDatabases(options: ServerOptions): Promise; /** Show database information for default database. */ export declare function showDefaultDatabaseInformationCommand(tableName: string | undefined, options: ServerOptions): Promise; /** Show database information for internal database. */ export declare function showInternalDatabaseInformationCommand(tableName: string | undefined, options: ServerOptions): Promise; /** Delete whole database or specified table in default database. */ export declare function deleteDefaultDatabaseCommand(tableName: string | undefined, options: ServerOptions): Promise; /** Delete whole database or specified table in internal database. */ export declare function deleteInternalDatabaseCommand(tableName: string | undefined, options: ServerOptions): Promise; /** Show database information for default database. */ export declare function tailDefaultDatabaseTableCommand(tableName: string, options: TailOptions): Promise; /** Show database information for internal database. */ export declare function tailInternalDatabaseTableCommand(tableName: string, options: TailOptions): Promise; /** Show head and tail summary of specified table and follow additions to it. */ export declare function tailDatabaseTableCommand(tableName: string, options: TailOptions, internal: boolean): Promise; export {};