import type { SignedOp } from "../model/types"; /** The file a reviewer sends back with "Send feedback". */ export interface FeedbackFile { pipeup: 1; doc: string; sealed: boolean; iv?: string; data?: string; ops?: SignedOp[]; } export declare function writeFeedbackFile(doc: string, ops: SignedOp[], key: CryptoKey | null): Promise; /** Returns the file's ops, untrusted: pass them to OpLog.add, which validates and verifies each one. */ export declare function readFeedbackFile(json: string, doc: string, key: CryptoKey | null): Promise;