import type { BaseDecorator, BaseInterface } from '../Base/types.js'; import type { Base } from '../Base/index.js'; import type { PointerServiceProps } from '../services/index.js'; export type RelativePointerDecoratorOptions = { target?: (this: Base, instance: Base) => HTMLElement; }; export interface RelativePointerInterface extends BaseInterface { movedrelative?(props: PointerServiceProps): void; } /** * Add dragging capabilities to a component. * @link https://js-toolkit.studiometa.dev/api/decorators/withRelativePointer.html */ export declare function withRelativePointer(BaseClass: typeof Base, { target }?: RelativePointerDecoratorOptions): BaseDecorator;