import { OpenAI, Raw } from '@vscode/prompt-tsx'; /** * Gets the text content part out of the message. * In the event it is an `ChatCompletionContentPart`, it will extract out the `ChatCompletionContentPartText`. **/ export declare function getTextPart(message: string | Raw.ChatCompletionContentPart[] | Raw.ChatCompletionContentPart | OpenAI.ChatCompletionContentPart[] | OpenAI.ChatCompletionContentPart): string; export declare function toTextPart(message: string): Raw.ChatCompletionContentPartText; export declare function toTextParts(message: string): Raw.ChatCompletionContentPartText[]; export declare function roleToString(role: Raw.ChatRole): 'system' | 'user' | 'assistant' | 'tool'; //# sourceMappingURL=globalStringUtils.d.ts.map