import { RemoteActorContext } from "#behavior/context/server/RemoteActorContext.js";
import { Interactable, Invoke, InvokeResult, NodeProtocol, Read, ReadResult, Subscribe, SubscribeResult, Write, WriteResult } from "@matter/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;
    /**
     * Process write requests and return results.
     * The caller is responsible for messaging/chunking and list state tracking.
     */
    write<T extends Write>(request: T, context: RemoteActorContext.Options): WriteResult<T>;
    /**
     * Process invoke requests and yield results.
     * The caller is responsible for messaging/chunking.
     */
    invoke(request: Invoke, context: RemoteActorContext.Options): InvokeResult;
}
//# sourceMappingURL=OnlineServerInteraction.d.ts.map