import { ITab } from '@ws-ui/shared';
import { ServerModel } from './types';
import { AppState } from '..';
export declare const fetchModel: import('@reduxjs/toolkit').AsyncThunk<ServerModel, void, {
    state: AppState;
    rejectValue: string;
    extra?: unknown;
    dispatch?: import('redux').Dispatch | undefined;
    serializedErrorType?: unknown;
    pendingMeta?: unknown;
    fulfilledMeta?: unknown;
    rejectedMeta?: unknown;
}>;
export declare const saveModel: import('@reduxjs/toolkit').AsyncThunk<{
    date: string;
    ext: string;
    name: string;
    size: number;
    type: string;
    path: string;
} & {
    content: ServerModel;
}, ITab<ServerModel, Partial<{
    initialLineInfo: {
        line: number;
        offset?: number;
        lastModification: number;
    };
    initialSelectionInfo: {
        selection: import('@ws-ui/shared').ITextEditorSelection;
        lastModification: number;
    };
    diffContent: string;
    attributes: import('@ws-ui/shared').IMethodAttributes;
    source: import('@ws-ui/shared').ISource;
    editor: import('@ws-ui/shared').IEditor;
    ext: import('@ws-ui/shared').DebuggerFileExtension;
    kind: string;
    eventReportView: "full" | "compact";
    eventReportFilters: string[];
}>>, {
    state: AppState;
    rejectValue: string;
    extra?: unknown;
    dispatch?: import('redux').Dispatch | undefined;
    serializedErrorType?: unknown;
    pendingMeta?: unknown;
    fulfilledMeta?: unknown;
    rejectedMeta?: unknown;
}>;
export declare const openModel: import('@reduxjs/toolkit').AsyncThunk<void | ITab<any, Partial<{
    initialLineInfo: {
        line: number;
        offset?: number;
        lastModification: number;
    };
    initialSelectionInfo: {
        selection: import('@ws-ui/shared').ITextEditorSelection;
        lastModification: number;
    };
    diffContent: string;
    attributes: import('@ws-ui/shared').IMethodAttributes;
    source: import('@ws-ui/shared').ISource;
    editor: import('@ws-ui/shared').IEditor;
    ext: import('@ws-ui/shared').DebuggerFileExtension;
    kind: string;
    eventReportView: "full" | "compact";
    eventReportFilters: string[];
}>>, {}, {
    state: AppState;
    rejectValue: string;
    extra?: unknown;
    dispatch?: import('redux').Dispatch | undefined;
    serializedErrorType?: unknown;
    pendingMeta?: unknown;
    fulfilledMeta?: unknown;
    rejectedMeta?: unknown;
}>;
export declare const tryRenameDataclass: import('@reduxjs/toolkit').AsyncThunk<void, {
    dataclassId: string;
    selectionId: string;
    name: string;
}, {
    state: AppState;
    rejectValue: string;
    extra?: unknown;
    dispatch?: import('redux').Dispatch | undefined;
    serializedErrorType?: unknown;
    pendingMeta?: unknown;
    fulfilledMeta?: unknown;
    rejectedMeta?: unknown;
}>;
