import { DataSourceType } from '../provider/dataSource/DataSourceContext';
export interface UseActionsParams {
    dataSource?: DataSourceType;
    currentValue?: 'server' | 'local';
    __designMode?: string;
}
declare const useActions: ({ dataSource: propsDataSource, currentValue: propsCurrentValue, __designMode, }?: UseActionsParams) => {
    create: (values: Record<string, any>) => Promise<any>;
    get: () => Promise<any>;
    update: (values: Record<string, any>) => Promise<any>;
    list: (params: {
        page: number;
        pageSize: number;
    }) => Promise<any>;
    destroy: (id: string) => Promise<any>;
};
export default useActions;
