/**
 * Operations API surface for the built-in agent (#626).
 *
 * Six handlers, all super_user-only — the auth check is inline because none
 * of these ops are registered in `utility/operation_authorization.ts`'s
 * `requiredPermissions` map. Without the inline gate, a non-SU request would
 * fall through the standard flow and be allowed.
 */
import type { OperationDefinition } from '../server/serverHelpers/serverUtilities.ts';
import type { AgentConfig } from './types.ts';
export interface OperationDeps {
    getConfig: () => AgentConfig;
    setConfig: (patch: Partial<AgentConfig>) => AgentConfig;
    startRun: (sessionId: string) => void;
    cancelRun: (sessionId: string) => boolean;
}
export declare function buildOperations(deps: OperationDeps): OperationDefinition[];
