import { ComponentType, Query, QueryDef, Entity, ComponentInstance } from '0g'; export declare function useWatch(input: Query, components: ComponentType[], callback: (entity: Entity) => void): void; export declare function useWatch(input: Entity, components: ComponentType[], callback: () => void): void; export declare function useWatch(input: ComponentInstance, callback: () => void): void;