import type { AppType } from '../../../types/commonData';
import { RawStaticItem, ResourceType } from './impl';
interface MetaItemLocale {
    'zh-CN': string;
    'en-US': string;
}
export type TemplateType = 'remote' | 'local';
export interface TemplateDesc {
    name: string;
    description: string;
    appType: AppType;
    meta: {
        name: MetaItemLocale;
        desc: MetaItemLocale;
        className: MetaItemLocale;
        img?: MetaItemLocale;
    };
}
export declare const TemplateDefault: {
    gadget: {
        uri: string;
        name: string;
        version: string;
        resourceType: "gadget";
    }[];
    block: {
        uri: string;
        name: string;
        version: string;
        resourceType: "block";
    }[];
    h5_in_block: {
        uri: string;
        name: string;
        version: string;
        resourceType: "h5_in_block";
    }[];
    gadget_plugin: {
        uri: string;
        name: string;
        version: string;
        resourceType: "gadget";
        subType: "plugin";
    }[];
};
export declare class TemplateItem implements RawStaticItem<TemplateDesc['meta']> {
    type: TemplateType;
    uri: string;
    resourceType: ResourceType;
    subType: '' | 'plugin';
    targetRelPath: string;
    delPath: string;
    name: string;
    version: string;
    resourceName: string;
    unzipName: string;
    meta: any;
    constructor(type: 'remote' | 'local', uri: string, name: string, version: string, resourceType: ResourceType, subType?: '' | 'plugin', unzipName?: string);
    getMeta(targetPath: string): {
        desc: any;
        name: any;
        img: any;
        className: any;
    };
    finish(_: string): void;
}
export {};
