import { type Change, Log } from "@peerbit/log"; import { Entry } from "@peerbit/log"; import { Program } from "@peerbit/program"; import { Range } from "./range.js"; export declare class StringOperation { index: Range; value?: string; constructor(props?: { index: Range; value?: string; }); } export declare const encoding: import("@peerbit/log").Encoding; export declare class StringIndex extends Program { _string: string; _log: Log; constructor(); get string(): string; open(store: Log): Promise; close(parent: any): Promise; updateIndex(_change: Change): Promise; } export declare const applyOperations: (string: string, operations: Entry[]) => Promise; export declare const applyOperation: (s: string, operation: StringOperation) => string; //# sourceMappingURL=string-index.d.ts.map