import type { ListTracesResponse, GetTraceResponse } from './types';
/**
 * List recent traces.
 *
 * @param token - Authentication token
 * @param options - Query options
 * @param options.serviceName - Filter by service name
 * @param options.limit - Maximum number of traces (default: 20)
 * @param baseUrl - Base URL for the OTEL service
 * @returns Promise resolving to a list of trace spans
 */
export declare const listTraces: (token: string, options?: {
    serviceName?: string;
    limit?: number;
}, baseUrl?: string) => Promise<ListTracesResponse>;
/**
 * Get all spans for a specific trace.
 *
 * @param token - Authentication token
 * @param traceId - The trace ID to retrieve
 * @param baseUrl - Base URL for the OTEL service
 * @returns Promise resolving to the trace's spans
 */
export declare const getTrace: (token: string, traceId: string, baseUrl?: string) => Promise<GetTraceResponse>;
