import { type FromUrlOptions } from "./remote.js"; export interface TextResourceContents { uri: string; mimeType: string; text: string; } export interface BlobResourceContents { uri: string; mimeType: string; blob: string; } export interface EmbeddedResource { type: "resource"; resource: TextResourceContents | BlobResourceContents; } export declare class File { private readonly data; private readonly mimeType; private readonly isText; private readonly name?; private readonly charset; private constructor(); static fromUrl(url: string, options?: FromUrlOptions): Promise; static fromBytes(data: Uint8Array, mimeType: string): File; static fromText(text: string, mimeType?: string): File; static fromBase64(base64: string, mimeType: string): File; toContentBlock(): EmbeddedResource; }