import type { Action, Operation, PHBaseState, PHDocument, Reducer, User } from "document-model";
export declare function signOperation<TState extends PHBaseState = PHBaseState>(operation: Operation, sign: (data: Uint8Array) => Promise<Uint8Array>, documentId: string, document: PHDocument<TState>, reducer?: Reducer<TState>, user?: User): Promise<Operation>;
export declare function addActionContext<A extends Action = Action>(action: A, connectDid?: string, user?: User): A;
//# sourceMappingURL=signature.d.ts.map