export interface FileMutations { readonly filename: string; readonly mutations: TextMutations[]; } export interface Span { readonly startLine: number; readonly endLine?: number; } export interface TextMutations extends Span { readonly newContent: string; } export declare function applyMutations(mutations: FileMutations[]): Promise; export declare function mutateFile(filename: string, mutations: TextMutations[]): Promise;