interface EventBus { on(event: string, handler: (data: unknown) => void): () => void; emit(event: string, data: unknown): void; } export interface CavemanApplyResult { systemPrompt: string; tag: "caveman:on" | "caveman:off" | "caveman:unavailable"; applied: boolean; warning?: string; } export declare function applyCavemanRpc(events: EventBus | undefined, systemPrompt: string, enabled: boolean, timeoutMs?: number): Promise; export {};