export type RpcCacheReuseOutcome = 'hit' | 'stale' | 'miss' | 'unavailable' | 'error'; export interface RpcBuildProfileConfigOptions { enabled?: boolean; outputPath?: string | null; workspaceRoot?: string; } export declare function configureRpcBuildProfile(options: RpcBuildProfileConfigOptions): void; export declare function resetRpcBuildProfileConfiguration(): void; export declare function isRpcBuildProfileEnabled(): boolean; export declare function recordRpcCacheReuse(options: { method: string; outcome: RpcCacheReuseOutcome; target?: string; }): void; export declare function recordRpcCacheReuseStaleReason(options: { method: string; reason: string; target?: string; }): void; export declare function recordArtifactScheduling(options: { kind: string; family: string; mode: 'fresh' | 'leader' | 'follower'; queueWaitMs: number; runMs: number; promoted: boolean; error?: boolean; target?: string; }): void; export declare function recordArtifactQueueDepth(options: { family: string; priority: string; depth: number; }): void; export declare function recordArtifactBootstrapDuration(durationMs: number): void; export declare function startRpcBuildProfile(method: string, params: unknown): (options?: { error?: boolean; }) => void;