import { mockBooking } from './mock';
import { EditBookingModalParams } from './type';
/**
 * @title: 获取预约详情
 * @description: 获取预约详细信息
 * @param {number} bookingId
 * @param {any} params
 * @return {*}
 * @Author: cong.shao
 * @Date: 2025-06-17 14:22
 */
export declare const getBookingDetail: (bookingId: number, params?: any) => Promise<any>;
/**
 * @title: 获取资源列表
 * @description: 资源列表
 * @param {any} params
 * @return {*}
 * @Author: cong.shao
 * @Date: 2025-06-17 14:22
 */
export declare const getResources: (params: any) => Promise<any>;
/**
 * @title: 更新子预约时间及资源
 * @description: 更新预约信息
 * @param {string} orderId
 * @param {any} params
 * @return {*}
 * @Author: cong.shao
 * @Date: 2025-06-17 14:26
 */
export declare const updateChildBooking: (orderId: string, params: any) => Promise<any>;
export declare const _getBookingDetail: (bookingId: number) => Promise<typeof mockBooking>;
export declare const getChildrenBookingById: (bookings: any[], id: number) => any;
export declare const _getResources: (params: any, bookingId?: number) => Promise<{
    list: any[];
    listMap: any;
}>;
export declare const _editBooking: (data: any, values: any) => Promise<void>;
export declare const updateResourceErrors: (resourceMaps: any, cacheItem: any) => any;
export declare const init: (params: EditBookingModalParams) => Promise<{
    bookingOrigin: any;
    booking: any;
    childrenBooking: any;
    dataRange: {
        end_date: any;
        start_date: any;
    };
    resourcesOrigin: any[];
    toResource: any;
}>;
export declare const createCacheItem: (cacheItem: any, values?: any) => any;
