import { Supernova } from "../../../../exports";
/** An image data container */
export type DocsImageRef = {
    /** Ref type */
    type: DocsImageRefType;
    /** Referenced resource, if any */
    resource?: {
        /** Absolute, directly consumable URL */
        url: string;
        /** Referenced resource, if any */
        resourceId: string;
    };
    /** Referenced Figma file, if any */
    figmaNode?: {
        sourceId: string;
        frameReferenceId: string;
    };
};
export declare enum DocsImageRefType {
    resource = "Resource",
    figmaNode = "FigmaNode"
}
export declare function docsImageRefToUrl(image: DocsImageRef | undefined, sdk: Supernova, from: {
    dsId: string;
    versionId: string;
}): string | undefined;
