import type { ResolvedTemplateSource, SeedSource, TemplateVariableContext } from './template-source-contracts.js'; /** * Read a remote block source and return its default block category. * * @deprecated Since 0.22.10. Use `getDefaultCategoryAsync()` from async * template-source paths. Removal target: not currently scheduled; this sync * compatibility helper remains available until release notes announce a * versioned target. * * @param sourceDir Block source directory that may contain a block.json file. * @returns The declared block category, or "widgets" when detection fails. */ export declare function getDefaultCategory(sourceDir: string): string; /** * Read a remote block source and return its default block category asynchronously. * * @param sourceDir Block source directory that may contain a block.json file. * @returns The declared block category, or "widgets" when detection fails. */ export declare function getDefaultCategoryAsync(sourceDir: string): Promise; /** * Read `wpTypia.projectType` from a rendered or source template package * manifest and return it when present. * * @deprecated Since 0.22.10. Use `getTemplateProjectTypeAsync()` from async * template-source paths. Removal target: not currently scheduled; this sync * compatibility helper remains available until release notes announce a * versioned target. */ export declare function getTemplateProjectType(sourceDir: string): string | null; /** * Read `wpTypia.projectType` from template metadata asynchronously. * * @param sourceDir Template source directory to inspect. * @returns The project type when present, otherwise `null`. */ export declare function getTemplateProjectTypeAsync(sourceDir: string): Promise; /** * Copy a wp-typia seed into a normalized temporary template directory. * * @param seed Seed source whose files should be normalized into a temp root. * @returns A cloned seed whose cleanup removes the temp root and original seed. */ export declare function normalizeWpTypiaTemplateSeed(seed: SeedSource): Promise; /** * Convert a create-block subset seed into a normalized wp-typia template source. * * @param seed Seed source produced from a remote create-block subset. * @param context Template variable context used for generated artifacts. * @returns A normalized template source rooted in a temporary directory. */ export declare function normalizeCreateBlockSubset(seed: SeedSource, context: TemplateVariableContext): Promise;