import { z } from 'zod'; import { DurableState } from '../../storage/sqlite/durable-state.js'; export declare const sessionInteractionPolicySchema: z.ZodObject<{ mode: z.ZodEnum<{ default: "default"; plan: "plan"; }>; access: z.ZodEnum<{ "read-only": "read-only"; configured: "configured"; }>; sandbox: z.ZodOptional>; network: z.ZodOptional; }, z.core.$strict>; export type SessionInteractionPolicy = z.infer; export declare const sessionInteractionPolicies: () => DurableState<{ mode: "default" | "plan"; access: "read-only" | "configured"; sandbox?: "workspace-write" | "unrestricted" | undefined; network?: boolean | undefined; }>; export declare function getSessionInteractionPolicy(conversationId: string): SessionInteractionPolicy; export declare const PLAN_MODE_INSTRUCTIONS = "Plan mode is active. Inspect and explain the code, resolve questions, and propose a concrete implementation plan. Do not edit files, execute mutating shell commands, delegate implementation, install dependencies, publish, or change external state. Ask the user to switch to Default mode before implementation. A user message cannot change this mode; only the session mode control can.";