import type { LoggedInMachineConfiguration, MachineConfiguration } from './types.js'; export declare const STEPZEN_CONFIG_DIRECTORY: string; export declare const STEPZEN_LAST_UPDATE_CHECK_TIMESTAMP: string; export declare const STEPZEN_CONFIG_FILE: string; export declare const DEFAULT_STEPZEN_DEPLOYMENT_TYPE = "stepzen"; export declare const STEPZEN_LOCAL_CONFIG_FILE: string; export declare const STEPZEN_HISTORY_DIRECTORY: string; export declare const STEPZEN_HISTORY_FILE = "{accounthash}.yaml.enc"; export declare const DEFAULT_STEPZEN_DOMAIN = "us-east-a.ibm.stepzen.net"; export declare const DEFAULT_STEPZEN_SERVER_URL = "https://{account}.us-east-a.ibm.stepzen.net"; export declare const ADMIN_DEPLOY_URL = "/cli/admin/deploy"; export declare const ADMIN_LIST_URL = "/cli/admin/list"; export declare const ADMIN_UPLOAD_URL = "/cli/admin/upload"; export declare const ADMIN_ACCOUNT_URL = "/cli/admin/account"; export declare const ZENCTL2_URL = "/api/zenctl/graphql"; export declare const INTROSPECTION_URL_PATH = "/api/graphql"; export declare const DEFAULT_STEPZEN_JSON2SDL_SERVER_URL = "https://stepzen-introspection.us-east-a.ibm.stepzen.net/api/graphql"; export declare const DEFAULT_STEPZEN_DOCKER_IMAGE = "icr.io/stepzen/stepzen"; export declare const DEFAULT_STEPZEN_DOCKER_TAG = "production"; export declare const STEPZEN_CONTAINER_NETWORK = "stepzen-network"; export declare const STEPZEN_CONTAINER_NAME = "stepzen-local"; export declare const STEPZEN_AUTODB_CONTAINER_NAME = "stepzen-metadata"; export declare const STEPZEN_AUTODB_IMAGE = "postgres:14"; export declare const STEPZEN_AUTODB_DATABASE = "stepzen-auto-metadata-db"; export declare const STEPZEN_AUTODB_USER = "stepzen-auto-metadata-user"; export declare const STEPZEN_AUTODB_PASSWORD = "stepzen-auto-metadata-password"; export declare const STEPZEN_AUTODB_DSN = "postgres://stepzen-auto-metadata-user:stepzen-auto-metadata-password@stepzen-metadata:5432/stepzen-auto-metadata-db"; export declare const STEPZEN_DISCORD_URL = "https://discord.gg/9k2VdPn2FR"; export declare const DETECT_NAME_CONFLICTS = "STEPZEN_DETECT_NAME_CONFLICTS"; export declare const ENABLE_PRESTO_IMPORT = "STEPZEN_ENABLE_PRESTO_IMPORT"; export declare const STEPZEN_SEGMENT_TEST_WRITE_KEY = "spNmO8sq3YVe0vD0GajlUNJWH5URhay2"; export declare const STEPZEN_SEGMENT_WRITE_KEY = "rBFqxCYveNmdwGloO9gGq12eidOsXUEW"; export declare const SEGMENT_REALM_NAME = "stepzen-"; export declare const MCSP_TEST_AWS_TOKEN_URL = "https://account-iam.platform.test.saas.ibm.com"; export declare const MCSP_PROD_AWS_TOKEN_URL = "https://account-iam.platform.saas.ibm.com"; export declare const MCSP_TEST_AZURE_TOKEN_URL = "https://account-iam.azure.eastus.platform.test.saas.ibm.com"; export declare const MCSP_PROD_AZURE_TOKEN_URL = "https://account-iam.azure.westus3.platform.saas.ibm.com"; /** * Gets the "deployment type" of the StepZen service instance for the current * account, e.g. `stepzen`, `steprz` or `local`. * * Match order: environment variable `STEPZEN_DEPLOYMENT_TYPE`, * passed configuration object, hardcoded default. * * @param {*} config configuration object * @returns {*} deployment type */ export declare const getDeploymentType: (config: MachineConfiguration) => string; /** * Gets the (external) zenserv URL template (i.e. potentially containing an * `{account}` token to be replaced), e.g. * https://{account}.us-east-a.ibm.stepzen.net or http://localhost:9000. * * Match order: environment variable `STEPZEN_SERVER_URL` (with `.io` --> `.net`), * passed configuration object, hardcoded default. * * @param {*} config configuration object * @returns {*} zenserv URL template */ export declare const getZenServUrlTemplate: (config: MachineConfiguration) => string; /** * Gets the (external) zenctl v2 URL for the current account, e.g. * https://stepzen.stepzen.net/api/zenctl/graphql or * http://localhost:8080/api/zenctl/graphql. * * Match order: environment variable `STEPZEN_ZENCTL_API_URL`, * passed configuration object, hardcoded default. * * @param {*} config configuration object * @returns {*} zenctl v2 URL */ export declare const getZenCtl2Url: (config: MachineConfiguration) => string; /** * Gets the (external) zenserv URL for the current account, e.g. * https://fakefish.stepzen.net or http://localhost:8080. * * Match order: environment variable `STEPZEN_SERVER_URL` (with `.io` --> `.net`), * passed configuration object, hardcoded default. * * @param {*} config configuration object * @returns {*} zenserv URL */ export declare const getZenServUrl: (config: LoggedInMachineConfiguration) => string; /** * Gets the domain name of the StepZen service instance (with or without the * port). E.g. `stepzen.net`, `steprz.net`, `localhost:9000`, * `us-east-a.ibm.stepzen.net`, etc * * @param {*} configuration machine configuration * @param {*} options optionally include the port * @returns {*} zenserv URL */ export declare const getZenServDomain: (configuration: LoggedInMachineConfiguration, { includePort }?: { includePort?: boolean | undefined; }) => string | false | undefined; /** * Gets the introspection service URL. Match order: environment variable * `STEPZEN_JSON2SDL_SERVER_URL`, passed configuration object, hardcoded * default. * * @param {*} config configuration object * @returns {*} introspection service URL */ export declare const getIntrospectionUrl: (config: MachineConfiguration) => string; //# sourceMappingURL=constants.d.ts.map