import { DTOFigmaComponent } from "@supernova-studio/client";
import { SourceType } from "../enums/SDKSourceType";
import { Source } from "./SDKSource";
export type DesignComponentOriginTransportModel = {
    sourceType: SourceType;
    sourceId: string | null;
    fileId: string | null;
    fileName: string | null;
    id: string | null;
    nodeId: string | null;
    name: string | null;
    width: number | null;
    height: number | null;
};
export type DesignComponentOriginModel = NonNullable<DTOFigmaComponent["originComponent"]>;
export declare class DesignComponentOrigin {
    sourceType: SourceType;
    sourceId: string | null;
    fileId: string | null;
    fileName: string | null;
    id: string | null;
    nodeId: string | null;
    name: string | null;
    width: number | null;
    height: number | null;
    constructor(model: DesignComponentOriginModel, sources: Array<Source>, rawSourceData?: DesignComponentOriginTransportModel);
    get remoteDesignComponentUrl(): string | undefined;
    /** Constructs representation that can be used to transport the instantiated object as JSON */
    toTransport(): DesignComponentOriginTransportModel;
    static fromTransport(transport: DesignComponentOriginTransportModel): DesignComponentOrigin;
}
