hayai-db
Version:
⚡ Instantly create and manage local databases with one command
19 lines (18 loc) • 666 B
TypeScript
import { HayaiDbConfig } from './types.js';
export declare class HayaiDbManager {
private static readonly CONFIG_FILE;
static exportConfig(outputPath?: string): Promise<string>;
static syncConfig(configPath?: string): Promise<{
created: string[];
skipped: string[];
errors: {
name: string;
error: string;
}[];
}>;
static validateConfig(config: HayaiDbConfig): Promise<void>;
static configExists(configPath?: string): Promise<boolean>;
static loadConfig(configPath?: string): Promise<HayaiDbConfig>;
private static fileExists;
static generateSampleConfig(): HayaiDbConfig;
}