import { PrismaAdmin, ViewConfig, Dictionary, WorkspaceLayout, QueryConfig } from '../state'; export declare enum ProjectType { database = "database", prisma = "prisma" } export declare const layoutDefault: WorkspaceLayout; export declare const defaultViews: Dictionary; export declare const defaultQueryConfig: QueryConfig; export declare const defaultWorkspaceState: PrismaAdmin; export declare const workspaceModule: { name: string; state: PrismaAdmin; actions: { createProject: ({ name, projectType, endpoint, token, databaseCredentials }: { name: any; projectType: any; endpoint: any; token: any; databaseCredentials: any; }) => { type: string; id: string; name: any; projectType: any; endpoint: any; token: any; databaseCredentials: any; }; updatePrismaProject: ({ id, name, endpoint, token }: { id: any; name: any; endpoint: any; token: any; }) => { type: string; id: any; name: any; endpoint: any; token: any; }; setProject: ({ endpoint, token, headers }: { endpoint: any; token: any; headers: any; }) => { type: string; endpoint: any; token: any; headers: any; }; deleteProject: (id: any) => { type: string; id: any; }; changeWorkspace: (id: any) => { type: string; id: any; }; changeWorkspaceFinished: (id: any) => { type: string; id: any; }; changeWorkspaceEndpoint: (endpoint: any) => { type: string; endpoint: any; }; startServer: (id: any) => { type: string; id: any; }; serverRunning: (id: any, endpoint: any) => { type: string; id: any; endpoint: any; }; setWorkspaceQuery: (activeQuery: any) => { type: string; activeQuery: any; }; setWorkspaceHorizontal: () => { type: string; }; setWorkspaceVertical: () => { type: string; }; toggleNodeSidebar: () => { type: string; }; toggleQuerySidebar: () => { type: string; }; toggleQueryEditor: () => { type: string; }; openQueryEditor: () => { type: string; }; closeQueryEditor: () => { type: string; }; setQuerySidebarWidth: (width: any) => { type: string; width: any; }; setNodeSidebarWidth: (width: any) => { type: string; width: any; }; setQueryEditorWidth: (width: any) => { type: string; width: any; }; setTableWidth: (width: any) => { type: string; width: any; }; setQueryEditorHeight: (height: any) => { type: string; height: any; }; setTableHeight: (height: any) => { type: string; height: any; }; hideError: () => { type: string; }; addCustomView: ({ section, viewName, viewUrl }: { section: any; viewName: any; viewUrl: any; }) => { type: string; section: any; viewName: any; viewUrl: any; }; changeDetailsView: (name: any) => { type: string; name: any; }; openCustomViewForm: () => { type: string; }; closeCustomViewForm: () => { type: string; }; deleteQueryConfigByName: (name: any) => { type: string; name: any; }; }; mutations: { WORKSPACE_CREATE_PROJECT: (state: PrismaAdmin, { id, name, projectType, endpoint, token, databaseCredentials, headers }: { id: any; name: any; projectType: any; endpoint: any; token: any; databaseCredentials: any; headers: any; }) => void; WORKSPACE_UPDATE_PRISMA_PROJECT: (state: PrismaAdmin, { id, name, endpoint, token, headers }: { id: any; name: any; endpoint: any; token: any; headers: any; }) => void; UPDATE_WORKSPACE: (state: PrismaAdmin, { name, endpoint, token }: { name: any; endpoint: any; token: any; }) => void; WORKSPACE_DELETE_PROJECT: (state: PrismaAdmin, { id }: { id: any; }) => void; WORKSPACE_CHANGE: (state: PrismaAdmin, { id }: { id: any; }) => void; WORKSPACE_CHANGE_FINISHED: (state: PrismaAdmin, { id }: { id: any; }) => void; WORKSPACE_SERVER_RUNNING: (state: PrismaAdmin, { id, endpoint }: { id: any; endpoint: any; }) => void; WORKSPACE_SET_QUERY: (state: PrismaAdmin, { activeQuery }: { activeQuery: any; }) => void; WORKSACE_SAVE_QUERY: (state: PrismaAdmin, { query, typeName }: { query: any; typeName: any; }) => void; WORKSPACE_HORIZONTAL: (state: PrismaAdmin) => void; WORKSPACE_VERTICAL: (state: PrismaAdmin) => void; TOGGLE_NODESIDEBAR: (state: PrismaAdmin) => boolean; TOGGLE_QUERYSIDEBAR: (state: PrismaAdmin) => boolean; TOGGLE_QUERY_EDITOR: (state: PrismaAdmin) => void; OPEN_QUERY_EDITOR: (state: PrismaAdmin) => boolean; WORKSPACE_CLOSE_EDITOR: (state: PrismaAdmin) => boolean; SET_QUERY_SIDEBAR_WIDTH: (state: PrismaAdmin, { width }: { width: any; }) => any; SET_NODE_SIDEBAR_WIDTH: (state: PrismaAdmin, { width }: { width: any; }) => any; SET_QUERY_EDITOR_WIDTH: (state: PrismaAdmin, { width }: { width: any; }) => any; SET_TABLE_WIDTH: (state: PrismaAdmin, { width }: { width: any; }) => any; SET_QUERY_EDITOR_HEIGHT: (state: PrismaAdmin, { height }: { height: any; }) => any; SET_TABLE_HEIGHT: (state: PrismaAdmin, { height }: { height: any; }) => any; WORKSPACE_TABLE_OPEN: (state: PrismaAdmin) => void; WORKSPACE_OPEN_CUSTOM_VIEW_FORM: (state: PrismaAdmin) => void; WORKSPACE_CLOSE_CUSTOM_VIEW_FORM: (state: PrismaAdmin) => void; WORKSPACE_ADD_CUSTOM_VIEW: (state: PrismaAdmin, { section, viewName, viewUrl }: { section: any; viewName: any; viewUrl: any; }) => void; WORKSPACE_CHANGE_DETAILS_VIEW: (state: PrismaAdmin, { name }: { name: any; }) => void; WORKSPACE_ERROR: (state: PrismaAdmin, { message, json }: { message: any; json: any; }) => void; HIDE_ERROR: (state: PrismaAdmin) => void; }; selectors: { projectLoading: (state: PrismaAdmin) => boolean; getWorkspaces: (state: PrismaAdmin) => Dictionary; getActiveWorkspaceId: (state: PrismaAdmin) => string; getActiveWorkspaceName: (state: PrismaAdmin) => string; getActiveWorkspaceEndpoint: (state: PrismaAdmin) => string; getActiveWorkspace: (state: PrismaAdmin) => import("../state").Project; getNodeSidebarOpen: (state: PrismaAdmin) => boolean; getQuerySidebarOpen: (state: PrismaAdmin) => boolean; getWorkspaceOrientation: (state: PrismaAdmin) => "horizontal" | "vertical"; getQueryEditorOpen: (state: PrismaAdmin) => boolean; getQuerySidebarWidth: (state: PrismaAdmin) => number; getNodeSidebarWidth: (state: PrismaAdmin) => number; getQueryEditorWidth: (state: PrismaAdmin) => number; getTableWidth: (state: PrismaAdmin) => number; getQueryEditorHeight: (state: PrismaAdmin) => number; getTableOpen: (state: PrismaAdmin) => boolean; getTableHeight: (state: PrismaAdmin) => number; getWorkspaceError: (state: PrismaAdmin) => boolean; getWorkspaceErrorMessage: (state: PrismaAdmin) => string; getWorkspaceErrorJson: (state: PrismaAdmin) => string | undefined; getQueryName: (state: PrismaAdmin) => string; getQueries: (state: PrismaAdmin) => string[]; getDetailsCustomViews: (state: PrismaAdmin) => Dictionary; getDetailsSelectedView: (state: PrismaAdmin) => ViewConfig; getCustomViewFormOpen: (state: PrismaAdmin) => boolean; getLastSavedQuery: (state: PrismaAdmin) => string; }; sagas: any; };