import type { HostActionDefinition } from "@getuserfeedback/protocol/host"; import { type RpcRequest } from "@getuserfeedback/protocol/internal/v3-rpc-messages"; export declare const createNativeHostActionRpcHandler: (input: { generation: number; getHandler: (definition: HostActionDefinition) => (() => void | Promise) | undefined; instanceId: string; isViewActive: (viewId: string) => boolean; now?: () => number; onError?: (error: Error) => void; postToCore: (message: unknown) => void; }) => { dispose: () => void; handle: (request: RpcRequest) => boolean; releaseView: (viewId: string) => void; };