export interface WorkspaceEdit { path: string; content: string; } export interface WorkspaceEditPlan { summary?: string; edits: WorkspaceEdit[]; deletions: string[]; } export interface WorkspaceSnapshotOptions { workingDirectory: string; allowedPaths?: string[]; deniedPaths?: string[]; maxFiles?: number; maxBytes?: number; maxFileBytes?: number; } export interface ApplyWorkspaceEditsOptions { workingDirectory: string; responseText: string; allowedPaths?: string[]; deniedPaths?: string[]; } export declare function pathAllowedByGovernance(path: string, allowedPaths: string[] | undefined, deniedPaths: string[] | undefined): boolean; export declare function parseWorkspaceEditPlan(responseText: string): WorkspaceEditPlan; export declare function applyWorkspaceEditPlan(plan: WorkspaceEditPlan, options: Omit): Promise<{ changedFiles: string[]; summary?: string; }>; export declare function applyWorkspaceEdits(options: ApplyWorkspaceEditsOptions): Promise<{ changedFiles: string[]; summary?: string; }>; export declare function buildWorkspaceSnapshot(options: WorkspaceSnapshotOptions): Promise;