export declare function expandManifestEntries(templateDir: string, entries: string[]): Promise; export declare function templatePath(templateDir: string, relPosix: string): string; export interface CopyTemplateFileOptions { templateDir: string; workspaceRoot: string; relPosix: string; chmod?: number; } export declare function copyTemplateFileToWorkspace(options: CopyTemplateFileOptions): Promise; export interface ApplyManagedBlocksOptions { templateDir: string; workspaceRoot: string; fileRel: string; blockIds: string[]; insertIfMissing: boolean; } export declare function applyManagedBlocksFromTemplate(options: ApplyManagedBlocksOptions): Promise<{ changed: boolean; }>; export declare function ensureWorkspaceDir(workspaceRoot: string, relPosix: string): Promise;