import { type PowerAssertionOptions } from "@oh-my-pi/pi-natives"; /** A held sleep-prevention assertion; the session only needs to release it. */ export interface PowerAssertionHandle { stop(): void; } /** * Start a power assertion. A missing platform backend (headless container with * no D-Bus) is logged at debug once and never retried; any other failure still warns. */ export declare function startPowerAssertion(options: PowerAssertionOptions, start?: (options: PowerAssertionOptions) => PowerAssertionHandle): PowerAssertionHandle | undefined; /** Test hook: forget that the backend was found unavailable. */ export declare function resetPowerBackendUnavailableForTests(): void;