import { ISharedDatasourcesResponse } from '@ws-ui/shared';
import { AppState } from '..';
export declare const fetchSharedDatasources: import('@reduxjs/toolkit').AsyncThunk<ISharedDatasourcesResponse, void, {
    rejectValue: string;
    state?: unknown;
    dispatch?: import('redux').Dispatch | undefined;
    extra?: unknown;
    serializedErrorType?: unknown;
    pendingMeta?: unknown;
    fulfilledMeta?: unknown;
    rejectedMeta?: unknown;
}>;
export declare const addSharedSource: import('@reduxjs/toolkit').AsyncThunk<ISharedDatasourcesResponse, datasources.ICreateDataSource, {
    rejectValue: string;
    state: AppState;
    dispatch?: import('redux').Dispatch | undefined;
    extra?: unknown;
    serializedErrorType?: unknown;
    pendingMeta?: unknown;
    fulfilledMeta?: unknown;
    rejectedMeta?: unknown;
}>;
export declare const editSharedSource: import('@reduxjs/toolkit').AsyncThunk<{
    [key: string]: datasources.ICreateDataSource[];
}, datasources.ICreateDataSource, {
    state?: unknown;
    dispatch?: import('redux').Dispatch;
    extra?: unknown;
    rejectValue?: unknown;
    serializedErrorType?: unknown;
    pendingMeta?: unknown;
    fulfilledMeta?: unknown;
    rejectedMeta?: unknown;
}>;
export declare const deleteSharedSource: import('@reduxjs/toolkit').AsyncThunk<ISharedDatasourcesResponse, {
    id: string;
    namespace: string;
}, {
    rejectValue: string;
    state: AppState;
    dispatch?: import('redux').Dispatch | undefined;
    extra?: unknown;
    serializedErrorType?: unknown;
    pendingMeta?: unknown;
    fulfilledMeta?: unknown;
    rejectedMeta?: unknown;
}>;
export declare const updateSharedDatasources: import('@reduxjs/toolkit').AsyncThunk<ISharedDatasourcesResponse, datasources.ICreateDataSource[], {
    rejectValue: string;
    state: AppState;
    dispatch?: import('redux').Dispatch | undefined;
    extra?: unknown;
    serializedErrorType?: unknown;
    pendingMeta?: unknown;
    fulfilledMeta?: unknown;
    rejectedMeta?: unknown;
}>;
export declare const setDatasourceEvents: import('@reduxjs/toolkit').AsyncThunk<void, {
    tabPath: string;
    name: string;
    namespace: string;
    events: webforms.WEvent[];
}, {
    state: AppState;
    dispatch?: import('redux').Dispatch | undefined;
    extra?: unknown;
    rejectValue?: unknown;
    serializedErrorType?: unknown;
    pendingMeta?: unknown;
    fulfilledMeta?: unknown;
    rejectedMeta?: unknown;
}>;
