import React from 'react';
import type { DetailActionConfig } from './types';
import type { SaleDetailOrderCompletePayload } from '../../types';
import './index.less';
export { TEMPLATE_A_ACTIONS, TEMPLATE_B_PAY_ACTIONS, TEMPLATE_B_SUMMARY_ACTIONS, } from './configs';
export type { DetailActionConfig } from './types';
export interface DetailActionsProps {
    actions?: DetailActionConfig[];
    onOrderComplete?: (payload: SaleDetailOrderCompletePayload) => void;
}
export declare function useEditBookingAction({ onAfterEdit, }?: {
    onAfterEdit?: () => void | Promise<void>;
}): {
    disabled: boolean;
    handleEdit: () => void;
};
export declare const DetailActions: React.NamedExoticComponent<DetailActionsProps>;
