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