import type { MulmoMediaSource, MulmoMediaMermaidSource, MulmoStudioContext, ImageType } from "../types/index.js";
export declare const getExtention: (contentType: string | null, url: string) => string;
export declare const pathToDataUrl: (filePath: string) => string;
export declare const MulmoMediaSourceMethods: {
    getText(mediaSource: MulmoMediaMermaidSource, context: MulmoStudioContext): Promise<string | null>;
    resolve(mediaSource: MulmoMediaSource | undefined, context: MulmoStudioContext): string | null;
    imageReference(mediaSource: MulmoMediaSource, context: MulmoStudioContext, key: string): Promise<string>;
    imagePluginSource(mediaSource: MulmoMediaSource, context: MulmoStudioContext, expectImagePath: string, imageType: ImageType): Promise<string>;
    imagePluginSourcePath(mediaSource: MulmoMediaSource, context: MulmoStudioContext, expectImagePath: string, imageType: ImageType): string | undefined;
    /**
     * Convert MediaSource to data URL (base64 encoded)
     */
    toDataUrl(mediaSource: MulmoMediaSource, context: MulmoStudioContext): Promise<string>;
};
