import { Capabilities } from '../../common';
/**
 * Hook to dynamically register an operation resolver (handler) within a React component.
 * The resolver is added when the component mounts and removed when it unmounts.
 *
 * @example
 * ```tsx
 * const scrollHandler = useMemo(() => OperationResolver.make({
 *   operation: LayoutOperation.ScrollIntoView,
 *   handler: (input) => Effect.sync(() => {
 *     // Handle scroll
 *   }),
 * }), [deps]);
 *
 * useOperationResolver(meta.id, scrollHandler);
 * ```
 */
export declare const useOperationResolver: (module: string, resolver: Capabilities.OperationResolver) => void;
//# sourceMappingURL=useOperationResolver.d.ts.map