import type { TemplateSummary } from '../../features/content-type-templates/types.js'; /** * Resolve the template being edited from a document path. Templates are stored * as documents at `_registry/templates/`; returns the matching template * (by name) or null for ordinary pages. */ export declare function templateFromRegistryPath(path: string | undefined | null, templates: TemplateSummary[] | undefined): TemplateSummary | null; /** Whether a document path is a template's, with or without the leading slash. */ export declare function isTemplatePath(path: string | undefined | null): boolean;