import type { AutomationRouteBinding } from '../../automation/routes.js';
import type { SharedApprovalRecord } from '../../control-plane/index.js';
import type { Tool } from '../../types/tools.js';
import type { ChannelRenderRequest, ChannelRenderResult, ChannelSurface, ChannelToolDescriptor } from '../types.js';
import type { BuiltinChannelRuntimeDeps } from './shared.js';
interface BuiltinRenderingContext {
    readonly deps: BuiltinChannelRuntimeDeps;
    readonly listTools: (surface: ChannelSurface) => ChannelToolDescriptor[];
    readonly runTool: (surface: ChannelSurface, toolId: string, input?: Record<string, unknown>) => Promise<unknown>;
}
export declare function renderBuiltinChannelEvent(context: BuiltinRenderingContext, surface: ChannelSurface, request: ChannelRenderRequest): Promise<ChannelRenderResult>;
export declare function notifyBuiltinApprovalViaRouter(context: BuiltinRenderingContext, surface: ChannelSurface, approval: SharedApprovalRecord, binding: AutomationRouteBinding): Promise<void>;
export declare function listBuiltinAgentTools(context: BuiltinRenderingContext, surface: ChannelSurface): readonly Tool[];
export {};
//# sourceMappingURL=rendering.d.ts.map