import { Command } from 'commander'; export declare enum PostgresOptionDescriptions { ConnectionString = "PostgreSQL Connection string", SrvServiceName = "PostgreSQL SRV service name when using service discovery", Db = "PostgreSQL database name", DbFile = "PostgreSQL database name file path", User = "PostgreSQL user", UserFile = "PostgreSQL user file path", Password = "PostgreSQL password", PasswordFile = "PostgreSQL password file path", SslCaFile = "PostgreSQL SSL CA file path", Host = "PostgreSQL host", Port = "PostgreSQL port", PoolMax = "Maximum number of clients in the PostgreSQL pool", ServiceDiscoveryArgs = "Postgres SRV service name, db, user and password" } export interface BasePosgresProgramOptions { postgresConnectionString?: string; postgresSrvServiceName?: string; postgresDb?: string; postgresDbFile?: string; postgresUser?: string; postgresUserFile?: string; postgresPassword?: string; postgresPasswordFile?: string; postgresHost?: string; postgresPoolMax?: number; postgresPort?: string; postgresSslCaFile?: string; } export declare type ConnectionNames = 'Asset' | 'DbSync' | 'Handle' | 'StakePool' | 'WalletApi' | ''; export declare type PosgresProgramOptions = { [k in Options as `${k}${Suffix}`]?: BasePosgresProgramOptions[k]; }; export declare const getPostgresOption: (suffix: Suffix, option: Options, args: PosgresProgramOptions | undefined) => BasePosgresProgramOptions[Options]; export declare const suffixType2Cli: (suffix: ConnectionNames) => string; export declare const withPostgresOptions: (command: Command, suffixes: ConnectionNames[]) => Command; //# sourceMappingURL=postgres.d.ts.map