import type { Endpoint } from 'payload'; /** * Creates a complete set of CRUD endpoints for a given Payload collection. * * @param collectionSlug - The Payload collection slug to query (e.g., 'pages', 'posts') * @param endpointPrefix - The URL path prefix (e.g., 'pages', 'posts') */ export declare function createCollectionEndpoints(collectionSlug: string, endpointPrefix: string, options?: { editorPreviewRoute?: string; }): Endpoint[];