export interface TemplateInfo { name: string; displayName: string; description: string; source: 'local' | 'remote'; } /** * List locally bundled templates. */ export declare function listLocalTemplates(): TemplateInfo[]; /** * Fetch template index from the remote workshop. */ export declare function listRemoteTemplates(): Promise; /** * List all templates: local first, then remote (deduplicated). */ export declare function listTemplates(): Promise; /** * Download a template from the remote workshop into targetDir. */ export declare function downloadTemplate(name: string, targetDir: string): Promise; /** * Copy a local bundled template to targetDir. */ export declare function copyTemplate(name: string, targetDir: string): void; /** * Check if a template exists locally. */ export declare function hasLocalTemplate(name: string): boolean; /** * Get template.yaml content (local only). */ export declare function getTemplateYaml(name: string): string; //# sourceMappingURL=index.d.ts.map