import { TemplateInfo as ITemplateInfo, TemplateError, TemplateType } from '../type';
import { FileMetaInfo } from '../../fs/type';
export declare class TemplateInfo implements ITemplateInfo {
    name: string;
    template: string;
    fi: FileMetaInfo;
    constructor(name: string, template: string, fi: FileMetaInfo);
    identifierBase(): string;
    errWithFileContext(what: string, err: Error): TemplateError;
    isZero(): boolean;
    copy(): TemplateInfo;
    getCleanContent(): string;
}
export declare function loadTemplate(name: string, fim: FileMetaInfo): Promise<TemplateInfo>;
export declare function resolveTemplateType(name: string): TemplateType;
export declare function isShortcode(name: string): boolean;
