import { ComputedRef } from 'vue';
import { Recordable } from '@maxax/types';
import { BasicPagerProps, BasicTableProps, FetchParams } from '../interface';
interface UseTableFormActionType {
    fetch: (opt?: FetchParams) => Promise<Recordable[] | undefined>;
    setPagination: (info: Partial<BasicPagerProps>) => void;
    getLoading: ComputedRef<boolean | undefined>;
    setSelection: () => void;
}
export declare function useTableForm(propsRef: ComputedRef<BasicTableProps>, { fetch, getLoading, setPagination, setSelection }: UseTableFormActionType): {
    getLoading: ComputedRef<boolean | undefined>;
    handleSearchInfoChange: (info?: Recordable) => void;
    handleSearchInfoReload: (info?: Recordable) => void;
};
export {};
//# sourceMappingURL=use-table-form.d.ts.map