export declare const getProjectSchemaFromLocalStorage: (scenarioName: string) => any;
export declare const getPackagesFromLocalStorage: (scenarioName: string) => any;
export declare const preview: (scenarioName?: string) => Promise<{
    url: string;
}>;
export declare const saveSchema: (scenarioName?: string) => Promise<void>;
/**
 * 获取元素实际宽度
 * @param text
 * @param options
 * @returns
 */
export declare const getActualWidthOfChars: (text: string, { size, family }: {
    size: number;
    family: string;
}) => number;
