import { defaultAutoPanResolver } from "./autoPan"; export type AutoPanResolverHelpers = Readonly<{ defaultAutoPanResolver: typeof defaultAutoPanResolver; }>; /** * Build-your-own hook: stable reference to the default auto-pan resolver. * * Returns `defaultAutoPanResolver` for consumers who want to pass it to * `usePanel({ resolveAutoPan })` or use it as a baseline to wrap/replace * with custom logic. * * @example * ```tsx * const { defaultAutoPanResolver } = useAutoPanResolver(); * usePanel(api, { * id: "my-panel", * open: isOpen, * resolveAutoPan: defaultAutoPanResolver, * children: , * }); * ``` */ export declare const useAutoPanResolver: () => AutoPanResolverHelpers;