import { ComKey, LocKey, LocKeyArray, PriKey } from "@fjell/types"; export declare const isComKey: (key: any) => key is ComKey; export declare const isPriKey: (key: any) => key is PriKey; export declare const createNormalizedHashFunction: () => (key: T) => string; export declare const isPriKeyEqualNormalized: (a: PriKey, b: PriKey) => boolean; export declare const isLocKeyEqualNormalized: (a: LocKey, b: LocKey) => boolean; export declare const isComKeyEqualNormalized: (a: ComKey, b: ComKey) => boolean; export declare const isItemKeyEqualNormalized: (a: ComKey | PriKey, b: ComKey | PriKey) => boolean; export declare const isItemKeyEqual: (a: ComKey | PriKey, b: ComKey | PriKey) => boolean; export declare const isPriKeyEqual: (a: PriKey, b: PriKey) => boolean; export declare const isLocKeyEqual: (a: LocKey, b: LocKey) => boolean; export declare const isComKeyEqual: (a: ComKey, b: ComKey) => boolean; export declare const isItemKey: (key: any) => boolean; export declare const isLocKey: (key: any) => boolean; export declare const generateKeyArray: (key: ComKey | PriKey | LocKeyArray | []) => Array | LocKey>; export declare const constructPriKey: (pk: string | number | PriKey, kt: S) => PriKey; export declare const cPK: (pk: string | number | PriKey, kt: S) => PriKey; export declare const toKeyTypeArray: (ik: ComKey | PriKey) => string[]; /** * Extracts key type arrays from any key type (PriKey, ComKey, or LocKeyArray) * This is useful for cache invalidation and registry lookups */ export declare const extractKeyTypeArray: (key: ComKey | PriKey | LocKeyArray) => string[]; export declare const abbrevIK: (ik: ComKey | PriKey) => string; export declare const abbrevLKA: (keyArray: Array> | null) => string; export declare const primaryType: (ik: ComKey | PriKey) => string; /** * * @param ik ItemKey to be used as a basis for a location * @returns */ export declare const itemKeyToLocKeyArray: (ik: PriKey | ComKey) => LocKeyArray; export declare const ikToLKA: (ik: PriKey | ComKey) => LocKeyArray; /** * Sometimes you need to take a location key array and convert it to the item key that points to the containing item. * @param lka A location key array * @returns An item key corresponding to the containing item this location refers to. */ export declare const locKeyArrayToItemKey: (lka: LocKeyArray) => PriKey | ComKey; export declare const isValidPriKey: (key: PriKey) => boolean; export declare const isValidLocKey: (key: LocKey) => boolean; export declare const isValidLocKeyArray: (keyArray: Array>) => boolean; export declare const isValidComKey: (key: ComKey) => boolean; export declare const isValidItemKey: (key: ComKey | PriKey) => boolean; export declare const lkaToIK: (lka: LocKeyArray) => PriKey | ComKey;