/** * routes/power.ts, handlers for the sleep-ownership verbs over the live * PowerManager (see platform/power/manager.ts for the policy). */ import type { GatewayMethodCatalog } from '../method-catalog.js'; import type { GatewayMethodHandler } from '../method-catalog-shared.js'; import type { PowerManager } from '../../power/index.js'; /** The narrow PowerManager slice the verbs need. */ export type PowerGatewayService = Pick; export declare function createPowerStatusHandler(service: PowerGatewayService): GatewayMethodHandler; export declare function createPowerKeepAwakeSetHandler(service: PowerGatewayService): GatewayMethodHandler; /** Attach the power handlers to their registered descriptors (missing = no-op). */ export declare function registerPowerGatewayMethods(catalog: GatewayMethodCatalog, service: PowerGatewayService): void; //# sourceMappingURL=power.d.ts.map