/**
 * Settings watcher for canonical qlogicagent permission settings.
 *
 * Only the `permissions` object is accepted. Removed top-level aliases such as
 * `permissionMode`, `permissionRules`, and `defaultBehavior` must fail loudly.
 */
import type { HookRegistry } from "../../contracts/hooks.js";
import type { PermissionRuleEnginePort } from "../../runtime/ports/index.js";
export interface SettingsFile {
    permissions?: unknown;
}
export interface SettingsWatcherDeps {
    projectRoot: string;
    ruleEngine: PermissionRuleEnginePort;
    hooks?: HookRegistry;
    log?: (msg: string) => void;
}
export declare function watchSettings(deps: SettingsWatcherDeps): () => void;
export declare function loadInitialSettings(projectRoot: string, ruleEngine: PermissionRuleEnginePort): Promise<SettingsFile | null>;
