import { Registry } from '../table/actions/registry/registry.js'; import { Table } from '../table/index.js'; import type { DatabaseMetadata } from './types.js'; export declare class Database = Record> { readonly tables: Register; meta: DatabaseMetadata; constructor(tables: TABLES, { meta }?: { meta?: DatabaseMetadata; }); build = DatabaseAction>(Action: new (table: this) => ACTION): ACTION; } export declare class DatabaseAction { readonly database: DATABASE; static actionName: string; constructor(database: DATABASE); } type Register> = { [KEY in keyof TABLES]: RegisterTable; }; type RegisterTable = TABLE extends Table ? Registry
: TABLE; export {};