UNPKG

kysely-codegen

Version:

`kysely-codegen` generates Kysely type definitions from your database. That's it.

18 lines (17 loc) 460 B
import type { Config } from './config'; /** * Creates a kysely-codegen command-line interface. */ export declare class Cli { #private; logLevel: "error" | "debug" | "silent" | "warn" | "info"; generate(options: Config): Promise<string>; parseOptions(args: string[], options?: { config?: Config; silent?: boolean; }): Config; run(options?: { argv?: string[]; config?: Config; }): Promise<string>; }