import { InnerActions } from "../../app"; /** * Gets or creates a local concept - implements get-or-create pattern. * * Checks LocalConceptsData for existing concept matching referent and typeId. * If found, returns existing concept. If not found, creates new local concept. * * **Special Case**: If typeCharacter is "the", sets categoryId to 1 (system category). * * @param referent - The character value/name of the concept * @param typeCharacter - Type name string (e.g., "the_name") * @param userId - User ID creating the concept * @param categoryId - Category classification ID * @param typeId - Type classification ID * @param actions - Action tracking for batch operations * @returns Existing or newly created Concept * * @example * const concept = await MakeTheConceptLocal("Active", "the_status", 101, 1, 5); * // Returns existing "Active" status or creates new one */ export default function MakeTheConceptLocal(referent: string, typeCharacter: string, userId: number, categoryId: number, typeId: number, actions?: InnerActions): Promise;