import type TamboAI from "@tambo-ai/typescript-sdk"; /** * Narrow a value to a ChatCompletionContentPart by checking for an object with string `type`. * We purposefully keep this guard permissive to support future part types. * @returns true if the value looks like a content part */ export declare function isContentPart(val: unknown): val is TamboAI.Beta.Threads.ChatCompletionContentPart; /** * Type guard for arrays of content parts. * @returns true if the value is an array of content parts */ export declare function isContentPartArray(val: unknown): val is TamboAI.Beta.Threads.ChatCompletionContentPart[]; /** * Safely convert an unknown value to a string suitable for a `{ type: "text" }` content part. * Guarantees a string and avoids throwing on circular structures. * @returns The string representation of the value */ export declare function toText(val: unknown): string; //# sourceMappingURL=content-parts.d.ts.map