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