/** 列表订阅请求可选参数，与 ticketBooking useProducts 中 loadProducts 的 options 对齐 */
export interface RequestOptions {
    osServer?: boolean;
    subscriberId?: string;
    callback?: (res: any) => void;
}
/**
 * 获取订单列表（支持 osServer 本地代理）。
 *
 * @example
 * const list = await getOrderList({ skip: 1, num: 50 }, { osServer: true });
 * console.log(list.count);
 */
export declare const getOrderList: (params: Record<string, any>, options?: RequestOptions) => Promise<{
    list: any[];
    count: number;
}>;
export interface GetBookingListParams {
    num: number;
    skip: number;
    business_code?: string;
    with?: string[];
    item_type?: string;
    item_types?: string[];
    booking_time_start_between?: string;
    keywords?: string;
    is_deposit?: number;
    child_booking?: number;
    parent_id?: number;
    exclude_status?: string[];
    wallet_pass_code?: string;
    order_by?: string;
    [key: string]: any;
}
export declare const formatBookingResult: (data: any) => any;
export declare const getBookingList: (params: Record<string, any>, options?: RequestOptions) => Promise<any>;
/** 取消订单列表订阅（组件卸载时调用，与 useProducts cleanup 一致） */
export declare const unsubscribeOrderQuery: (subscriberId: string) => Promise<void>;
/** 取消预约列表订阅 */
export declare const unsubscribeBookingQuery: (subscriberId: string) => Promise<void>;
