import type { Resource } from '@opentelemetry/resources'; import type { ResourceFactory } from '../types'; export interface EffectiveConfig { type: 'yaml' | 'env'; name: string; content: string; } export interface RemoteProfilingConfig { cpuProfiler: { enabled: boolean; samplingInterval?: number; }; memoryProfiler: { enabled: boolean; }; callgraphs: { enabled: boolean; samplingInterval?: number; }; } export interface OpAMPOptions { endpoint: string; serviceName: string; resource: Resource; pollingIntervalMs: number; accessToken?: string; getEffectiveConfig: () => EffectiveConfig; applyRemoteConfig?: (config: RemoteProfilingConfig) => Promise; } export type StartOpAMPOptions = Partial> & { serviceName?: string; resourceFactory?: ResourceFactory; }; export interface OpAMPHandle { stop(): Promise; } //# sourceMappingURL=types.d.ts.map