/**
 * @license
 * Copyright 2022-2026 Matter.js Authors
 * SPDX-License-Identifier: Apache-2.0
 */
import type { Subject } from "../device/subject.js";
/**
 * Monitors a host-side file that is bind-mounted into the Docker container.  When the CHIP Python test framework calls
 * `request_device_reboot()` or `request_device_factory_reset()`, it writes a command string to the restart flag file
 * and polls until the file is deleted.
 *
 * This monitor detects the file, dispatches the appropriate backchannel command to the matter.js test subject, and
 * deletes the file once the action completes — signaling the Python test to continue.
 *
 * Polling at 100ms adds up to 100ms latency per restart cycle which is well within the Python side's 30s timeout.
 */
export declare class RestartFlagMonitor {
    #private;
    constructor(hostPath: string, subject: Subject);
    start(): void;
    stop(): Promise<void>;
}
//# sourceMappingURL=restart-flag-monitor.d.ts.map