import http from 'http'; import https from 'https'; import * as grpc from '@grpc/grpc-js'; export declare const VERSION: any; export declare enum Lang { Ru = "ru", En = "en" } export declare const DEFAULT_TIMEOUT: number; export declare const DEFAULT_LANG_HEADER = "accept-language"; export declare const DEFAULT_PROXY_HEADERS: string[]; export declare const DEFAULT_AXIOS_OPTIONS: { maxContentLength: number; httpAgent: http.Agent; httpsAgent: https.Agent; }; export declare const DEFAULT_GRPC_OPTIONS: { 'grpc.max_receive_message_length': number; 'grpc.keepalive_time_ms': number; 'grpc.keepalive_timeout_ms': number; 'grpc.keepalive_permit_without_calls': number; }; export declare const DEFAULT_PROTO_LOADER_OPTIONS: { longs: StringConstructor; enums: StringConstructor; defaults: boolean; oneofs: boolean; }; /** * Byte sizes are taken from ECMAScript Language Specification * http://www.ecma-international.org/ecma-262/5.1/ */ export declare const ECMA_STRING_SIZE = 2; export declare const ANY_ACTION_SYMBOL = "*"; export declare const RETRYABLE_STATUS_CODES: Array; export declare const RECREATE_SERVICE_CODES: Array; /** * Common validation schema for action's parameters. You can use it in GatewayConfig as validationSchema * Validates the parameter type: only number, object, or string are allowed. * For strings, disallows characters: ".", "?", "#", "/", "\" */ export declare const DEFAULT_VALIDATION_SCHEMA: { additionalProperties: { oneOf: ({ type: string; pattern?: undefined; } | { type: string; pattern: string; })[]; }; }; export declare const AXIOS_RETRY_NAMESPACE = "axios-retry"; export declare const GATEWAY_INVALID_PARAM_VALUE = "GATEWAY_INVALID_PARAM_VALUE";