import type { LanguageModelV2DataContent } from '../../../../_types/@ai-sdk_provider-v5/dist/index.d.ts';
import type { DataContent } from '../../../../_types/@internal_ai-sdk-v5/dist/index.d.ts';
/**
 * Flat generated-file data is `string | Uint8Array`, where strings normally
 * hold base64. URL-backed V4 generated files flatten to http(s) URL strings
 * (matching AI SDK v7's own conversion), so consumers that interpret string
 * data as base64 must use this check to tell the two apart. Base64 content
 * never parses as an http(s) URL, making the check unambiguous.
 */
export declare function isUrlString(data: string): boolean;
export declare function convertToDataContent(content: DataContent | URL): {
    data: LanguageModelV2DataContent;
    mediaType: string | undefined;
};
//# sourceMappingURL=content.d.ts.map