import { DatabaseConnection } from "./DatabaseConnection"; import { Base } from "@openiap/openflow-api"; import { Span } from "@opentelemetry/api"; export declare class dbConfig extends Base { constructor(); version: string; needsupdate: boolean; updatedat: Date; skip_history_collections: string; history_delta_count: number; allow_skiphistory: boolean; allow_personal_nodered: boolean; amqp_enabled_exchange: boolean; log_with_trace: boolean; log_with_colors: boolean; log_cache: boolean; log_amqp: boolean; log_login_provider: boolean; log_websocket: boolean; log_oauth: boolean; log_webserver: boolean; log_database: boolean; log_database_queries: boolean; log_database_queries_ms: number; log_grafana: boolean; log_housekeeping: boolean; log_otel: boolean; log_blocked_ips: boolean; otel_debug_log: boolean; otel_warn_log: boolean; otel_err_log: boolean; otel_measure_queued_messages: boolean; otel_measure__mongodb_watch: boolean; otel_measure_onlineuser: boolean; otel_measure_nodeid: boolean; log_information: boolean; log_debug: boolean; log_verbose: boolean; log_silly: boolean; log_to_exchange: boolean; api_bypass_perm_check: boolean; workitem_queue_monitoring_interval: number; workitem_queue_monitoring_enabled: boolean; client_heartbeat_timeout: number; client_signin_timeout: number; client_disconnect_signin_error: boolean; amqp_allow_replyto_empty_queuename: boolean; enable_web_tours: boolean; enable_nodered_tours: boolean; housekeeping_skip_collections: string; ensure_indexes: boolean; text_index_name_fields: string[]; auto_create_users: boolean; auto_create_user_from_jwt: boolean; auto_create_domains: string[]; persist_user_impersonation: boolean; ping_clients_interval: number; websocket_message_callback_timeout: number; otel_trace_pingclients: boolean; otel_trace_dashboardauth: boolean; otel_trace_include_query: boolean; otel_trace_connection_ips: boolean; otel_trace_mongodb_per_users: boolean; otel_trace_mongodb_query_per_users: boolean; otel_trace_mongodb_count_per_users: boolean; otel_trace_mongodb_aggregate_per_users: boolean; otel_trace_mongodb_insert_per_users: boolean; otel_trace_mongodb_update_per_users: boolean; otel_trace_mongodb_delete_per_users: boolean; cache_workitem_queues: boolean; Save(jwt: string, parent: Span): Promise; compare(version: string): number; static Load(jwt: string, parent: Span): Promise; static Reload(jwt: string, parent: Span): Promise; } export declare class Config { static dbConfig: dbConfig; static getversion(): string; static disablelogging(): void; static reload(): void; static load_drom_db(): void; static unittesting: boolean; static db: DatabaseConnection; static license_key: string; static version: string; static logpath: string; static log_with_colors: boolean; static log_cache: boolean; static log_amqp: boolean; static log_login_provider: boolean; static log_with_trace: boolean; static log_websocket: boolean; static log_oauth: boolean; static log_webserver: boolean; static log_database: boolean; static log_database_queries: boolean; static log_database_queries_ms: number; static log_grafana: boolean; static log_housekeeping: boolean; static log_otel: boolean; static log_blocked_ips: boolean; static log_information: boolean; static log_debug: boolean; static log_verbose: boolean; static log_silly: boolean; static log_to_exchange: boolean; static amqp_allow_replyto_empty_queuename: boolean; static openflow_uniqueid: string; static enable_openflow_amqp: boolean; static openflow_amqp_expiration: number; static amqp_prefetch: number; static enable_entity_restriction: boolean; static enable_web_tours: boolean; static enable_nodered_tours: boolean; static auto_hourly_housekeeping: boolean; static housekeeping_update_usage_hourly: boolean; static housekeeping_update_usersize_hourly: boolean; static housekeeping_skip_collections: string; static workitem_queue_monitoring_enabled: boolean; static workitem_queue_monitoring_interval: number; static upload_max_filesize_mb: number; static getting_started_url: string; static NODE_ENV: string; static HTTP_PROXY: string; static HTTPS_PROXY: string; static NO_PROXY: string; static stripe_api_key: string; static stripe_api_secret: string; static stripe_force_vat: boolean; static stripe_force_checkout: boolean; static stripe_allow_promotion_codes: boolean; static supports_watch: boolean; static ensure_indexes: boolean; static text_index_name_fields: string[]; static auto_create_users: boolean; static auto_create_user_from_jwt: boolean; static auto_create_domains: string[]; static persist_user_impersonation: boolean; static ping_clients_interval: number; static allow_personal_nodered: boolean; static use_ingress_beta1_syntax: boolean; static auto_create_personal_nodered_group: boolean; static auto_create_personal_noderedapi_group: boolean; static force_add_admins: boolean; static validate_emails: boolean; static forgot_pass_emails: boolean; static smtp_service: string; static smtp_from: string; static smtp_user: string; static smtp_pass: string; static smtp_url: string; static debounce_lookup: boolean; static validate_emails_disposable: boolean; static tls_crt: string; static tls_key: string; static tls_ca: string; static tls_passphrase: string; static cache_store_type: string; static cache_store_max: number; static cache_store_ttl_seconds: number; static cache_store_redis_host: string; static cache_store_redis_port: number; static cache_store_redis_password: string; static cache_workitem_queues: boolean; static oidc_access_token_ttl: number; static oidc_authorization_code_ttl: number; static oidc_client_credentials_ttl: number; static oidc_refresh_token_ttl: number; static oidc_session_ttl: number; static oidc_cookie_key: string; static api_rate_limit: boolean; static api_rate_limit_points: number; static api_rate_limit_duration: number; static socket_rate_limit: boolean; static socket_rate_limit_points: number; static socket_rate_limit_points_disconnect: number; static socket_rate_limit_duration: number; static socket_error_rate_limit_points: number; static socket_error_rate_limit_duration: number; static client_heartbeat_timeout: number; static client_signin_timeout: number; static client_disconnect_signin_error: boolean; static expected_max_roles: number; static decorate_roles_fetching_all_roles: boolean; static max_recursive_group_depth: number; static update_acl_based_on_groups: boolean; static allow_merge_acl: boolean; static multi_tenant: boolean; static cleanup_on_delete_customer: boolean; static cleanup_on_delete_user: boolean; static api_bypass_perm_check: boolean; static force_audit_ts: boolean; static force_dbusage_ts: boolean; static migrate_audit_to_ts: boolean; static websocket_package_size: number; static websocket_max_package_count: number; static websocket_message_callback_timeout: number; static websocket_disconnect_out_of_sync: boolean; static protocol: string; static port: number; static domain: string; static cookie_secret: string; static max_ace_count: number; static amqp_reply_expiration: number; static amqp_force_queue_prefix: boolean; static amqp_force_exchange_prefix: boolean; static amqp_force_sender_has_read: boolean; static amqp_force_sender_has_invoke: boolean; static amqp_force_consumer_has_update: boolean; static amqp_enabled_exchange: boolean; static amqp_url: string; static amqp_username: string; static amqp_password: string; static amqp_check_for_consumer: boolean; static amqp_check_for_consumer_count: boolean; static amqp_default_expiration: number; static amqp_requeue_time: number; static amqp_dlx: string; static mongodb_url: string; static mongodb_db: string; static mongodb_minpoolsize: number; static mongodb_maxpoolsize: number; static skip_history_collections: string; static history_delta_count: number; static allow_skiphistory: boolean; static saml_issuer: string; static aes_secret: string; static signing_crt: string; static singing_key: string; static wapid_mail: string; static wapid_pub: string; static wapid_key: string; static shorttoken_expires_in: string; static longtoken_expires_in: string; static downloadtoken_expires_in: string; static personalnoderedtoken_expires_in: string; static nodered_images: NoderedImage[]; static saml_federation_metadata: string; static api_ws_url: string; static nodered_ws_url: string; static nodered_saml_entrypoint: string; static nodered_docker_entrypoints: string; static nodered_docker_use_project: boolean; static nodered_docker_certresolver: string; static namespace: string; static nodered_domain_schema: string; static nodered_initial_liveness_delay: number; static nodered_allow_nodeselector: boolean; static nodered_requests_memory: string; static nodered_requests_cpu: string; static nodered_limits_memory: string; static nodered_limits_cpu: string; static nodered_liveness_failurethreshold: number; static nodered_liveness_timeoutseconds: number; static noderedcatalogues: string; static otel_measure_nodeid: boolean; static otel_measure_queued_messages: boolean; static otel_measure__mongodb_watch: boolean; static otel_measure_onlineuser: boolean; static enable_analytics: boolean; static otel_debug_log: boolean; static otel_warn_log: boolean; static otel_err_log: boolean; static otel_trace_url: string; static otel_metric_url: string; static otel_trace_interval: number; static otel_metric_interval: number; static otel_trace_pingclients: boolean; static otel_trace_dashboardauth: boolean; static otel_trace_include_query: boolean; static otel_trace_connection_ips: boolean; static otel_trace_mongodb_per_users: boolean; static otel_trace_mongodb_query_per_users: boolean; static otel_trace_mongodb_count_per_users: boolean; static otel_trace_mongodb_aggregate_per_users: boolean; static otel_trace_mongodb_insert_per_users: boolean; static otel_trace_mongodb_update_per_users: boolean; static otel_trace_mongodb_delete_per_users: boolean; static validate_user_form: string; static baseurl(): string; static basewsurl(): string; static getEnv(name: string, defaultvalue: string): string; static get(url: string): Promise; static parse_federation_metadata(tls_ca: String, url: string): Promise; static parseArray(s: string): string[]; static parseBoolean(s: any): boolean; } export declare class NoderedImage { name: string; image: string; }