import { ESPMatterDiscoveryParamsInterface } from "../types/io/input"; import { EventModelContext } from "../methods/ESPRMUser/EventSubscriptionModel/types"; /** * Utilities backing the Matter-aware `ESPRMUser` event subscription model. * * This module is intentionally framework-agnostic and focuses on: * - discovery configuration normalization * - per-user discovery lifecycle state * - callback registry operations * - discovery/lost listener start-stop orchestration * * `createEventModelContext()` is the main export used by method handlers. */ /** * Normalizes discovery config with SDK defaults. * * Example: * ```ts * const config = normalizeDiscoveryParams({ * serviceType: "_matter._tcp.", * }); * // => { serviceType: "_matter._tcp.", domain: "local." } * ``` */ export declare function normalizeDiscoveryParams(params?: ESPMatterDiscoveryParamsInterface): ESPMatterDiscoveryParamsInterface; /** * Builds the context consumed by EventSubscriptionModel method handlers. * * Returned object intentionally groups small focused operations so handlers stay * simple and read as high-level flow definitions. */ export declare function createEventModelContext(): EventModelContext;