/** * Runtime registry of collections configured for Nitrogen editing. * * The plugin registers collections at init time via `registerCollection()`. */ type RegisteredCollection = { collectionSlug: string; routePattern?: string; }; export declare function registerCollection(alias: string, collectionSlug: string, routePattern?: string): void; export declare function resolveCollection(postType: string): string; export declare function resolveCollectionRoutePattern(postType: string): string | undefined; export declare function getRegisteredCollections(): RegisteredCollection[]; export declare function buildRelativePermalink(postType: string, slug: string): string; export declare function buildPermalink(postType: string, slug: string, frontendUrl?: string): string; export {};