import { ISlotType } from './litegraph'; /** * Uses the standard String() function to coerce to string, unless the value is null or undefined - then null. * @param value The value to convert * @returns String(value) or null */ export declare function stringOrNull(value: unknown): string | null; /** * Uses the standard String() function to coerce to string, unless the value is null or undefined - then an empty string * @param value The value to convert * @returns String(value) or "" */ export declare function stringOrEmpty(value: unknown): string; export declare function parseSlotTypes(type: ISlotType): string[]; /** * Creates a unique name by appending an underscore and a number to the end of the name * if it already exists. * @param name The name to make unique * @param existingNames The names that already exist. Default: an empty array * @returns The name, or a unique name if it already exists. */ export declare function nextUniqueName(name: string, existingNames?: string[]): string;