import { 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, {
    uid?: string | undefined;
    id?: number | undefined;
    cancellationReason?: string | undefined;
    cancelledBy?: string | undefined;
    allRemainingBookings?: boolean | undefined;
    cancelSubsequentBookings?: boolean | undefined;
    skipCancellationReasonValidation?: boolean | undefined;
    seatReferenceUid?: string | undefined;
    internalNote?: {
        name: string;
        id: number;
        cancellationReason?: string | null | undefined;
    } | null | undefined;
}, unknown>;
export {};
//# sourceMappingURL=useCancelBooking.d.ts.map