/** * Converts a value to a string using advanced serialization. * @param value - The value to convert to a string. * @returns A string representation of the value. */ export declare const toStringValue: (value: unknown) => string; /** * Extracts parameter names and their default values from a function by parsing its source. * Supports both synchronous and async functions (returning R or Promise). * * @param fn - The function to inspect (sync or async). * @returns An array of parameter descriptors with name and optional default value. */ export declare const extractParamsInfo: (fn: (...args: T) => R | Promise) => { name: string; defaultValue?: unknown; }[]; /** * Converts function arguments to a dictionary using parameter names and default values */ export declare const argsToDict: (paramsInfo: { name: string; defaultValue?: unknown; }[], args: T) => Record; /** * Convert a record with arbitrary values to a Record by converting * all values to their string representations. * * @param metadata - The metadata object with potentially complex values * @returns A new object with all values converted to strings */ export declare const toStringRecord: (metadata: Record) => Record;