import { CommandQueue as SlimCommandQueue, type AwsRumClientInit as SlimAwsRumClientInit } from '@aws-rum/web-slim'; import { PartialConfig } from './orchestration/config'; export type { Command, CommandFunction } from '@aws-rum/web-slim'; /** Extends slim's init type to accept `telemetries` in the config. */ export type AwsRumClientInit = Omit & { c?: PartialConfig; }; /** * Full-featured CommandQueue extending slim with remote-config support. */ export declare class CommandQueue extends SlimCommandQueue { constructor(); /** * Initialize CWR and execute commands which were queued before initialization. * * If a URL for a remote config file has been provided, the remote config * will first be fetched. If this attempt fails, an exception will be thrown * and CWR will not be initialized. */ init(awsRum: AwsRumClientInit): Promise; protected initCwr(awsRum: AwsRumClientInit): void; }