export interface PopSlotScope {
    title?: string;
    message?: string;
    confirm?: (e?: MouseEvent) => void;
    cancel?: (e?: MouseEvent) => void;
}
export declare function useButtonPop(props: Record<string, any>, attrs: Record<string, any>, slots: Record<string, any>): {
    needPop: boolean;
    buttonProps: Record<string, any>;
    popProps: any;
    popoverProps: Record<string, any>;
    resolvedTitle: any;
    resolvedMessage: any;
    hasRichPop: boolean;
    hasReferenceSlot: boolean;
    onClick: (e?: MouseEvent, confirmed?: boolean) => void;
    onCancel: (e?: MouseEvent) => void;
    popLegacyCancel: any;
};
