import { GraphSchemaTypeWithAccess, ICaptionConfig, ItemFieldsCaptions, LkEdgeData, LkNodeData, PropertyType } from '@linkurious/rest-client'; export declare class Captions { /** * Return label for each node */ static getText(itemData: LkNodeData | LkEdgeData, schema: ItemFieldsCaptions, graphSchema?: GraphSchemaTypeWithAccess[]): string | null; /** * Return a readable string from an LkProperty */ private static getLabel; /** * Return true if caption configuration exists in schema */ static captionExist(itemTypes: Array, schema: ItemFieldsCaptions): boolean; /** * Generate text from node data and captions schema */ static generateNodeCaption(itemData: LkNodeData, schema: { [key: string]: ICaptionConfig; }, graphSchema?: GraphSchemaTypeWithAccess[]): string; static getPropertyType(graphSchema: GraphSchemaTypeWithAccess[], propertyKey: string, itemType: string): PropertyType | undefined; /** * Generate text from edge data and captions schema */ static generateEdgeCaption(itemData: LkEdgeData, schema: { [key: string]: ICaptionConfig; }, graphSchema?: GraphSchemaTypeWithAccess[]): string; }