import { z } from 'zod'; export type PermissionPolicy = 'allow' | 'ask' | 'deny'; export interface MastraCodeState { [key: string]: unknown; [key: `subagentModelId_${string}`]: string | undefined; projectPath?: string; projectName?: string; configDir: string; gitBranch?: string; lastCommand?: string; currentModelId: string; subagentModelId?: string; observerModelId: string; reflectorModelId: string; observationThreshold: number; reflectionThreshold: number; cavemanObservations: boolean; observeAttachments: 'auto' | boolean; omScope?: 'thread' | 'resource'; thinkingLevel: 'off' | 'low' | 'medium' | 'high' | 'xhigh'; yolo: boolean; permissionRules: { categories: Record; tools: Record; }; smartEditing: boolean; notifications: 'bell' | 'system' | 'both' | 'off'; tasks: Array<{ id?: string; content: string; status: 'pending' | 'in_progress' | 'completed'; activeForm: string; }>; sandboxAllowedPaths: string[]; activePlan: { title: string; plan: string; approvedAt: string; } | null; activeBrowserSettings?: { enabled: boolean; provider: 'stagehand' | 'agent-browser'; headless?: boolean; viewport?: { width: number; height: number; }; cdpUrl?: string; stagehand?: { env: 'LOCAL' | 'BROWSERBASE'; apiKey?: string; projectId?: string; }; }; } export declare const stateSchema: z.ZodObject<{ projectPath: z.ZodOptional; projectName: z.ZodOptional; configDir: z.ZodDefault; gitBranch: z.ZodOptional; lastCommand: z.ZodOptional; currentModelId: z.ZodDefault; subagentModelId: z.ZodOptional; observerModelId: z.ZodDefault; reflectorModelId: z.ZodDefault; observationThreshold: z.ZodDefault; reflectionThreshold: z.ZodDefault; cavemanObservations: z.ZodDefault; observeAttachments: z.ZodDefault, z.ZodBoolean]>>; omScope: z.ZodOptional>; thinkingLevel: z.ZodDefault>; yolo: z.ZodDefault; permissionRules: z.ZodDefault>>; tools: z.ZodDefault>>; }, z.core.$strip>>; smartEditing: z.ZodDefault; notifications: z.ZodDefault>; tasks: z.ZodDefault; content: z.ZodString; status: z.ZodEnum<{ pending: "pending"; in_progress: "in_progress"; completed: "completed"; }>; activeForm: z.ZodString; }, z.core.$strip>>>; sandboxAllowedPaths: z.ZodDefault>; activePlan: z.ZodDefault>>; activeBrowserSettings: z.ZodOptional; headless: z.ZodOptional; viewport: z.ZodOptional>; cdpUrl: z.ZodOptional; stagehand: z.ZodOptional; apiKey: z.ZodOptional; projectId: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>>; }, z.core.$strip>; //# sourceMappingURL=schema.d.ts.map