import { ApiClient } from './api-client';
export interface TemplateInfo {
    framework: string;
    displayName: string;
    description: string;
    version: string;
    repo: string;
    repoUrl?: string;
    category: string;
    language: string;
    port: number;
    healthcheckPath: string;
    buildTool: string;
    isDefault: boolean;
    isDeprecated: boolean;
}
export declare function listTemplates(api: ApiClient): Promise<TemplateInfo[]>;
export declare function getTemplate(api: ApiClient, framework: string, version?: string): Promise<TemplateInfo>;
export declare function listVersionsFor(api: ApiClient, framework: string): Promise<TemplateInfo[]>;
export declare function pickDefault(entries: TemplateInfo[]): TemplateInfo | undefined;
export declare function fetchRawFile(repo: string, filename: string, branch?: string): Promise<string>;
export declare function parseFrameworkArg(input: string): {
    framework: string;
    version?: string;
};
