import type { DeviceModelKey } from "../protocol/events.ts"; /** * Build the REST endpoint URL for a device collection or a specific device. The Protect application API is reached through the controller's `/proxy/protect/api/` * prefix; the device's model key selects the collection and the optional id addresses one device within it. * * @param host - The controller address (no scheme). * @param modelKey - The device category whose collection to address. * @param id - The specific device id; omit to address the collection root itself (`.../cameras`, or the `.../nvr` singleton, which carries no id suffix). * * @returns The fully-qualified endpoint URL. * * @category Devices */ export declare function deviceEndpoint(host: string, modelKey: DeviceModelKey, id?: string): string; //# sourceMappingURL=endpoints.d.ts.map