import type * as DataApiTypes from './types/pg/platform-api.js';
import type * as TunnelTypes from './types/pg/tunnel.js';
import { AmbiguousError } from './errors/ambiguous.js';
import { NotFound } from './errors/not-found.js';
import AddonResolver from './utils/addons/addon-resolver.js';
import { getPsqlConfigs, sshTunnel } from './utils/pg/bastion.js';
import { getConfigVarNameFromAttachment } from './utils/pg/config-vars.js';
import DatabaseResolver from './utils/pg/databases.js';
import getHost from './utils/pg/host.js';
import PsqlService from './utils/pg/psql.js';
import { ago } from './ux/ago.js';
import { alignColumns } from './ux/align-columns.js';
import { anykey } from './ux/any-key.js';
import { confirmCommand } from './ux/confirm-command.js';
import { toHumanReadableDataSize } from './ux/data-size.js';
import { formatPrice } from './ux/format-price.js';
import { openUrl } from './ux/open-url.js';
import { prompt } from './ux/prompt.js';
import { styledHeader } from './ux/styled-header.js';
import { styledJSON } from './ux/styled-json.js';
import { styledObject } from './ux/styled-object.js';
import { table } from './ux/table.js';
import { toTitleCase } from './ux/to-title-case.js';
import { wait } from './ux/wait.js';
export declare namespace pg {
    type AddOnWithRelatedData = DataApiTypes.AddOnWithRelatedData;
    type ExtendedAddon = DataApiTypes.ExtendedAddon;
    type ExtendedAddonAttachment = DataApiTypes.ExtendedAddonAttachment;
    type Link = DataApiTypes.Link;
    type ConnectionDetails = TunnelTypes.ConnectionDetails;
    type TunnelConfig = TunnelTypes.TunnelConfig;
}
export declare const utils: {
    AddonResolver: typeof AddonResolver;
    errors: {
        AmbiguousError: typeof AmbiguousError;
        NotFound: typeof NotFound;
    };
    pg: {
        addonService: () => string;
        DatabaseResolver: typeof DatabaseResolver;
        host: typeof getHost;
        isAdvancedDatabase: (addon: DataApiTypes.ExtendedAddon | DataApiTypes.ExtendedAddonAttachment["addon"]) => boolean;
        isAdvancedPrivateDatabase: (addon: DataApiTypes.ExtendedAddon | DataApiTypes.ExtendedAddonAttachment["addon"]) => boolean;
        isEssentialDatabase: (addon: DataApiTypes.ExtendedAddon | DataApiTypes.ExtendedAddonAttachment["addon"]) => boolean;
        isLegacyDatabase: (addon: DataApiTypes.ExtendedAddon | DataApiTypes.ExtendedAddonAttachment["addon"]) => boolean;
        isLegacyEssentialDatabase: (addon: DataApiTypes.ExtendedAddon | DataApiTypes.ExtendedAddonAttachment["addon"]) => boolean;
        isPostgresAddon: (addon: DataApiTypes.ExtendedAddon | DataApiTypes.ExtendedAddonAttachment["addon"]) => boolean;
        psql: {
            getConfigVarNameFromAttachment: typeof getConfigVarNameFromAttachment;
            getPsqlConfigs: typeof getPsqlConfigs;
            sshTunnel: typeof sshTunnel;
        };
        PsqlService: typeof PsqlService;
    };
};
export declare const hux: {
    ago: typeof ago;
    alignColumns: typeof alignColumns;
    anykey: typeof anykey;
    confirm: (message: string, { defaultAnswer, ms, }?: import("./ux/confirm.js").PromptInputs<boolean>) => Promise<boolean>;
    confirmCommand: typeof confirmCommand;
    formatPrice: typeof formatPrice;
    openUrl: typeof openUrl;
    prompt: typeof prompt;
    styledHeader: typeof styledHeader;
    styledJSON: typeof styledJSON;
    styledObject: typeof styledObject;
    table: typeof table;
    toHumanReadableDataSize: typeof toHumanReadableDataSize;
    toTitleCase: typeof toTitleCase;
    wait: typeof wait;
};
export * as color from './ux/colors.js';
