/**
 * Riot.js helpers for Vue-wrapped components.
 */
import '@/styles';
import { debounce, throttle } from '@/utils/index';
export { debounce, throttle };
type RiotContext = {
    refs?: Record<string, EventTarget>;
    $?: (selector: string) => Element | null;
};
export declare function on<T extends Event = Event>(target: EventTarget, event: string, handler: (event: T) => void): () => void;
export declare function on<T extends Event = Event>(target: RiotContext, refName: string, event: string, handler: (event: T) => void): () => void;
export declare function onMany(context: RiotContext, bindings: Record<string, Record<string, (event: Event) => void>>): () => void;
export declare function withData<TEvent = Event, TArgs extends unknown[] = unknown[]>(handler: (event: TEvent, ...args: TArgs) => void, ...args: TArgs): (event: TEvent) => void;
