/**
 * Accepts DSN in various formats and returns its URL-normalized version, or
 * throws in case some essential part of the DSN is missing. Tries to use PG*
 * environment variables for the missing parts.
 */
export declare function normalizeDsn(dsnOrIslandNo: string | undefined, env?: {
    PGUSER: string | undefined;
    PGPASSWORD: string | undefined;
    PGHOST: string | undefined;
    PGPORT: string | undefined;
    PGDATABASE: string | undefined;
    PGSSLMODE: string | undefined;
} | Record<string, string | undefined>, islandDsns?: string[]): string | undefined;
//# sourceMappingURL=normalizeDsn.d.ts.map