import { type StateEvent } from './state-parser.js';
export type FileWatcherEvents = StateEvent | {
    type: 'squad:inactive';
    squadName: string;
} | {
    type: 'squad:config_changed';
    squadName: string;
} | {
    type: 'a2ui:update';
    squadName: string;
    components: import('../types/a2ui.js').UIComponent[];
};
type EventCallback = (event: FileWatcherEvents) => void;
export declare function createFileWatcher(squadsDir: string, onEvent: EventCallback): {
    ready: Promise<void>;
    stop: () => void;
};
export {};
//# sourceMappingURL=file-watcher.d.ts.map