import type { WpTemplatePart } from '@wordpress/core-data'; export declare function useExistingTemplateParts(): WpTemplatePart[]; /** * Return a unique template part title based on * the given title and existing template parts. * * @param title The original template part title. * @param templateParts The array of template part entities. * @return A unique template part title. */ export declare function getUniqueTemplatePartTitle(title: string, templateParts: WpTemplatePart[]): string; /** * Get a valid slug for a template part. * Currently template parts only allow latin chars. * The fallback slug will receive suffix by default. * * @param title The template part title. * @return A valid template part slug. */ export declare function getCleanTemplatePartSlug(title: string): string; //# sourceMappingURL=utils.d.ts.map