///
import { Anchor, Node, AnchorEnd } from '../types';
declare type AnchorConstructor = new (element?: Node) => Anchor;
export declare const useAnchor: (anchorCallback: AnchorConstructor | ((element: Node) => Anchor | undefined), end?: AnchorEnd, type?: string) => void;
export declare const withAnchor:
(anchor: Anchor, end?: AnchorEnd, type?: string) => (WrappedComponent: import("react").ComponentType
) => import("react").FunctionComponent
;
export {};
//# sourceMappingURL=useAnchor.d.ts.map