import { RemoteActorContext } from "#behavior/context/server/RemoteActorContext.js";
import { Interactable, Invoke, NodeProtocol, Read, ReadResult, Subscribe, SubscribeResult, Write, WriteResult } from "#protocol";
export declare class OnlineServerInteraction implements Interactable<RemoteActorContext.Options> {
    #private;
    constructor(node: NodeProtocol);
    read(request: Read, context: RemoteActorContext.Options): ReadResult;
    subscribe(_request: Subscribe, _context: RemoteActorContext.Options): SubscribeResult;
    write<T extends Write>(request: T, context: RemoteActorContext.Options): WriteResult<T>;
    invoke(request: Invoke, context: RemoteActorContext.Options): AsyncGenerator<import("#protocol").InvokeResult.Chunk, undefined, unknown>;
}
//# sourceMappingURL=OnlineServerInteraction.d.ts.map