import * as indexerTypes from "@peerbit/indexer-interface"; export declare class Operation { } export declare const BORSH_ENCODING_OPERATION: import("@peerbit/log").Encoding; export declare class PutWithKeyOperation extends Operation { key: string; data: Uint8Array; constructor(props: { key: string; data: Uint8Array; }); } export declare class DeleteByStringKeyOperation extends Operation { key: string; constructor(props: { key: string; }); toDeleteOperation(): DeleteOperation; } export declare const coerceDeleteOperation: (operation: DeleteOperation | DeleteByStringKeyOperation) => DeleteOperation; export declare class PutOperation extends Operation { data: Uint8Array; constructor(props: { data: Uint8Array; }); } export declare const isPutOperation: (operation: Operation) => operation is PutOperation | PutWithKeyOperation; /** * Delete a document at a key */ export declare class DeleteOperation extends Operation { key: indexerTypes.IdKey; constructor(props: { key: indexerTypes.IdKey; }); } export declare const isDeleteOperation: (operation: Operation) => operation is DeleteOperation | DeleteByStringKeyOperation; //# sourceMappingURL=operation.d.ts.map