import type { AnyDescriptor, Declared, EndpointView } from "../registry/types.js"; /** An endpoint as discovery sends it, without its capabilities. */ export interface EndpointFields { endpointId: string; friendlyName: string; description: string; manufacturerName: string; displayCategories: readonly string[]; additionalAttributes: Readonly>; cookie?: Readonly>; } /** Throws the first rule of the Endpoint object that the fields break. */ export declare function checkEndpoint(endpoint: EndpointFields): void; /** alexa-discovery.html, "Interface limits". count includes the capabilities the library adds. */ export declare function checkCapabilityCount(endpointId: string, count: number): void; /** * Throws the first rule that a capability breaks on its endpoint. endpoint.capabilities are the ones declared * before it. A stub is checked for being declared twice and for nothing else: the library does not know its rules. */ export declare function checkCapability(capability: Declared, descriptor: AnyDescriptor, endpoint: EndpointView): void;