import { type MouseEvent } from 'react';
import type { FloorMapDataSources, FloorMapMergedItem } from '@pisell/materials';
import type { PisellReservationProps, PisellReservationTableRow } from '../types';
/** 与 useEngineContext 返回值形状一致（不直接 import hook），避免类型循环 */
declare type EngineContextValue = {
    appHelper?: any;
    engine?: any;
    blockContext?: any;
    components?: any;
    pageContext?: any;
};
/**
 * 只读平面图点击 → 宿主结账抽屉或内置预约详情弹窗的状态与 `floorMapItemClickBefore`。
 */
export declare function useFloorMapBookingInteraction(options: {
    engineCtx: EngineContextValue | null | undefined;
    onFloorMapBookingClick?: PisellReservationProps['onFloorMapBookingClick'];
}): {
    bookingDetailOpen: boolean;
    bookingDetailRaw: Record<string, unknown> | null;
    bookingDetailRow: PisellReservationTableRow | null;
    bookingDetailSceneName: string | undefined;
    closeBookingDetailModal: (e?: MouseEvent<HTMLElement>) => void;
    floorMapItemClickBefore: (args: {
        item: FloorMapMergedItem;
        mode: 'read' | 'edit';
        dataSources: FloorMapDataSources;
        event: MouseEvent<HTMLElement>;
    }) => void;
};
export {};
