import { Query } from './index'; import { Direction } from '../../shortcuts/shortcuts'; import { Conditions } from '../../components/TableSection/TableHeader/SearchBar'; import { Field } from '../../engine/Engine'; export declare const actions: { createEmptyQuery: () => { type: string; }; startRenameQuery: (queryName: any) => { type: string; queryName: any; }; renameQuery: ({ oldName, newName }: { oldName: any; newName: any; }) => { type: string; oldName: any; newName: any; }; stopRenameQuery: () => { type: string; }; duplicateInlineQuery: () => { type: string; }; duplicateQuery: (name: any) => { type: string; name: any; }; duplicateSavedQuery: (name: any) => { type: string; name: any; }; saveQuery: () => { type: string; }; setQuery: ({ name, query, limit }: { name: any; query: any; limit: any; }) => { type: string; name: any; query: any; limit: any; }; clearQuery: (limit: any) => { type: string; limit: any; }; runQueryPage: (queryPage: any) => { type: string; queryPage: any; }; resetQuery: () => { type: string; }; selectHistoryQuery: (queryName: any) => { type: string; queryName: any; }; selectResultRow: (index: any) => { type: string; index: any; }; runDetailsQuery: (typeName: any, id: any) => { type: string; typeName: any; id: any; }; selectNextRecord: () => { type: string; direction: Direction; }; selectPrevRecord: () => { type: string; direction: Direction; }; unselectRecord: () => { type: string; }; runSearchQuery: () => { type: string; }; toggleSerach: () => { type: string; }; changeSerachField: (field: Field) => { type: string; field: Field; }; changeSearchCondition: (condition: Conditions) => { type: string; condition: Conditions; }; changeSearchValue: (value: string, field: Field) => { type: string; value: string; field: Field; }; }; export declare const mutations: { QUERY_RESET: (state: Query) => void; CREATE_EMPTY_QUERY: (state: Query) => void; QUERY_SAVE_EMPTY_QUERY: (state: Query, { name }: { name: any; }) => void; START_RENAME_QUERY: (state: Query, { queryName }: { queryName: any; }) => void; STOP_RENAME_QUERY: (state: Query) => void; RENAME_QUERY_FINISHED: (state: Query, { newName }: { newName: any; }) => void; SET_LAST_SAVED_QUERY: (state: Query, { query }: { query: any; }) => void; SET_QUERY: (state: Query, { name, query, limit, detailsAutoOpen }: { name: any; query: any; limit: any; detailsAutoOpen: any; }) => void; QUERY_SET_FIELDS: (state: Query, { fields, typeName }: { fields: any; typeName: any; }) => void; CLEAR_QUERY: (state: Query) => void; RUN_QUERY: (state: Query, { origin }: { origin?: string | undefined; }) => void; RUN_QUERY_PAGE: (state: Query, { queryPage }: { queryPage: any; }) => void; QUERY_FINISHED: (state: Query, { data, count, queryLimit }: { data: any[]; count: number; queryLimit: number | undefined; }) => void; QUERY_DELETE_STATE: (state: Query, { name }: { name: any; }) => void; SELECT_RESULT_ROW: (state: Query, { index }: { index: any; }) => void; QUERY_TOGGLE_DETAILS_AUTO: (state: Query, { detailsAutoOpen }: { detailsAutoOpen: any; }) => void; QUERY_SET_COUNT: (state: any, { queryCount }: { queryCount: any; }) => void; QUERY_INVALID_QUERIES: (state: Query) => void; DETAILS_QUERY_FINISHED: (state: Query, { data }: { data: any; }) => void; QUERY_SELECT_RECORD: (state: Query, { direction }: { direction: any; }) => void; QUERY_UNSELECT_RECORD: (state: Query) => void; QUERY_TOGGLE_SEARCH: (state: Query) => void; QUERY_CHANGE_SEARCH_FIELD: (state: Query, { field }: { field: any; }) => void; QUERY_CHANGE_SEARCH_CONDITION: (state: Query, { condition }: { condition: any; }) => void; QUERY_CHANGE_SEARCH_VALUE: (state: Query, { value, field }: { value: string; field: Field; }) => void; };