import { RoomstayEvent } from '../events/RoomstayEvent';
import { RoomstayEventCallback } from '../events/RoomstayEventManager';
export declare const useEvent: () => {
    raise: (event: RoomstayEvent) => Promise<void>;
    on: <T extends RoomstayEvent>(eventType: RoomstayEvent | string, callback: RoomstayEventCallback<T>, id?: string) => void;
};
