import { ExposeByListButtons, ButtonItem, CurrentRow, OptColumnListItem } from '../list-page-layout-types';
export default function useButtonFunctionHook({ loading, updateListData, listGridRef, Request, srmI18n }: ExposeByListButtons): {
    getDataByERP: (option: ButtonItem, cb?: ((res: unknown) => void) | undefined) => void;
    custom: ({ row, option }: {
        row: CurrentRow;
        option: OptColumnListItem;
    }) => void;
    invalid: ({ row, option }: {
        row: CurrentRow;
        option: OptColumnListItem;
    }, cb?: ((res: unknown) => void) | undefined) => void;
    removeRow: ({ row, option }: {
        row: CurrentRow;
        option: OptColumnListItem;
    }, cb?: ((res: unknown) => void) | undefined) => void;
    copyData: ({ row, option }: {
        row: CurrentRow;
        option: OptColumnListItem;
    }, cb?: ((res: unknown) => void) | undefined) => void;
    pushDataToERP: (option: ButtonItem, cb?: ((res: unknown) => void) | undefined) => void;
};
