import { SearchStructure, SearchQuery } from '../../app'; import { CountInfo } from '../../DataStructures/Count/CountInfo'; /** * This function will help you search a concept by their type and also to query inside of it. * Put the number of compositions you want to get in the searchStructure which can be set by inpage and page * Then the type should be set in searchQuery for the compositionName. * Inside the searchQuery array this you can set the full linker / listLinker in the searchQuery. * This will give the id of the structures. */ export declare function SearchWithTypeAndLinkerDataId(searchStructure: SearchStructure, searchQuery: SearchQuery[], token?: string): Promise; /** * This function will help you search a concept by their type and also to query inside of it. * Put the number of compositions you want to get in the searchStructure which can be set by inpage and page * Then the type should be set in searchQuery for the compositionName. * Inside the searchQuery array this you can set the full linker / listLinker in the searchQuery. * This will not give the id of the structures. */ export declare function SearchWithTypeAndLinker(searchStructure: SearchStructure, searchQuery: SearchQuery[], token?: string): Promise; /** * ## Format dataid ## * @param linkers * @param conceptIds * @param connections * @param mainCompositionIds * @param reverse * @returns */ export declare function formatDataArrayDataId(linkers: number[], conceptIds: number[], connections: number[], mainCompositionIds: number[], reverse: number[]): Promise; /** * ## Format Normal ## * @param linkers * @param conceptIds * @param connections * @param mainCompositionIds * @param reverse * @returns */ export declare function formatDataArrayNormal(linkers: number[], conceptIds: number[], connections: number[], mainCompositionIds: number[], reverse: number[]): Promise; /** * ## Format Normal ## * @param linkers * @param conceptIds * @param connections * @param mainCompositionIds * @param reverse * @returns */ export declare function formatLinkersNormal(linkers: number[], conceptIds: number[], connections: number[], mainCompositionIds: number[], reverse: number[]): Promise; /** * ## Format Normal ## * This function fetches all the connections and then converts all the connections to the single level connections * Then those single level objects are then stiched together to create a complex json/ array. * @param linkers * @param conceptIds * @param mainCompositionIds * @param reverse * @returns */ export declare function formatConnections(linkers: number[], conceptIds: number[], mainCompositionIds: number[], reverse: number[], countInfos: CountInfo[]): Promise; /** * ## Format JustId ## * This function fetches all the connections and then converts all the connections to the single level connections * Then those single level objects are then stiched together to create a complex json/ array. * @param linkers * @param conceptIds * @param mainCompositionIds * @param reverse * @returns */ export declare function formatConnectionsJustId(linkers: number[], conceptIds: number[], mainCompositionIds: number[], reverse: number[], countInfos: CountInfo[], order?: string): Promise; /** * ## Format DATA-ID ## * This function fetches all the connections and then converts all the connections to the single level connections * Then those single level objects are then stiched together to create a complex json/ array. * @param linkers * @param conceptIds * @param mainCompositionIds * @param reverse * @returns */ export declare function formatConnectionsDataId(linkers: number[], conceptIds: number[], mainCompositionIds: number[], reverse: number[], countInfos: CountInfo[], order?: string): Promise; export declare function formatConnectionsV2(linkers: number[], conceptIds: number[], mainCompositionIds: number[], reverse: number[], countInfos: CountInfo[], order?: string): Promise;