import { Concept, Connection, LocalTransaction } from "../app"; import { Prototype } from "../DataStructures/Prototype/Prototype"; import { PrototypeOption } from "../DataStructures/Prototype/PrototypeOption"; import { QuerySelector } from "../DataStructures/Prototype/QuerySelector"; export declare function createPrototypeLocal(prototype: Prototype, passedTransaction?: LocalTransaction | null): Promise<{ concepts: Concept[]; connections: Connection[]; mainConcept: Concept; }>; export declare function addOptions(options: PrototypeOption[], mainPrototype: Concept, passedTransaction: LocalTransaction): Promise<{ concepts: Concept[]; connections: Connection[]; }>; export declare function addPrototypeSelector(selector: QuerySelector | null, mainPrototype: Concept, passedTransaction: LocalTransaction): Promise<{ concepts: Concept[]; connections: Connection[]; }>; export declare function addPrototype(type: string, passedTransaction: LocalTransaction): Promise; export declare function addCompositionPrototype(type: string, concepts: Concept[], connections: Connection[], passedTransaction: LocalTransaction): Promise; export declare function CreatePrototypeConcept(prototypeConcept: Concept, typeConcept: Concept, userId: number, passedTransaction: LocalTransaction): Promise; export declare function typeSemantic(mainPrototype: Concept, required?: boolean, isComposition?: boolean): string; export declare function compositionalTypeSemantic(mainPrototype: Concept, isOption?: boolean): string; export declare function filterTypeSemantic(mainPrototype: Concept, isOption?: boolean): string; export declare function selectorTypeSemantic(mainPrototype: Concept, isOption?: boolean): string; export declare function AddPrototypeConnections(types: string[], prototype: Concept, allConcepts: Concept[], passedTransaction: LocalTransaction, required?: boolean, isComposition?: boolean): Promise;