import type { ICanvasControlInfo } from './ICanvasControlInfo';
/**
 * This interface represents the transpile context.
 *
 * @internal
 */
export interface ITranspileContext {
    /**
     * The flattened position of the webpart in the page. It doesn't take into account the section and zone of the given webpart.
     * It is used to determine the order of the webparts in the page.
     */
    position: number;
    /**
     * If this is true, the webpart can be rasterized to an image and the image will be used as a placeholder for the webpart.
     */
    isWebPartToImageAllowed: boolean;
    /**
     * The additional information about the control
     */
    canvasControlInfo?: ICanvasControlInfo;
    /**
     * The current link to the page that hosts the webpart.
     */
    pageUrl?: string;
}
//# sourceMappingURL=ITranspileContext.d.ts.map