/**
 * Canonical admin routes for opening / creating documents.
 *
 * Post-type and Pages collections have dedicated section-based editors that the
 * generic `/:collection/:id` route does NOT reach — routing a post through the
 * generic editor silently strips its `sections` data, and a post collection
 * whose slug is `posts` 404s under `/:collection/:id` entirely. Centralizing the
 * mapping here keeps `Dashboard`, `CollectionList`, and any future caller in
 * agreement instead of each re-deriving (and getting it wrong).
 */
export interface CollectionRouteMeta {
    type?: string;
}
/** The route that opens an existing document in its correct editor. */
export declare function editPathForDoc(col: CollectionRouteMeta | undefined, collection: string, id: string): string;
/** The route that starts a new document in the correct editor. */
export declare function newPathForCollection(col: CollectionRouteMeta | undefined, collection: string): string;
//# sourceMappingURL=collection-routes.d.ts.map