import type { ApiErrorResponse } from '../../../types/index.ts';
interface IUseCancelBooking {
    onSuccess?: () => void;
    onError?: (err: ApiErrorResponse | Error) => void;
}
export declare const useCancelBooking: ({ onSuccess, onError }?: IUseCancelBooking) => import("@tanstack/react-query").UseMutationResult<ApiErrorResponse | import('../../../types/index.ts').ApiSuccessResponseWithoutData, Error, {
    id?: number | undefined;
    uid?: string | undefined;
    allRemainingBookings?: boolean | undefined;
    cancelSubsequentBookings?: boolean | undefined;
    cancellationReason?: string | undefined;
    seatReferenceUid?: string | undefined;
    cancelledBy?: string | undefined;
    internalNote?: {
        name: string;
        id: number;
        cancellationReason?: string | null | undefined;
    } | null | undefined;
}, unknown>;
export {};
//# sourceMappingURL=useCancelBooking.d.ts.map