import type { MoteurClient } from '../client.js'; /** * Public collection channel: pages, entries, layouts, forms, and menus exposed by a collection. * Paths match `GET` routes in `packages/api/src/projects/collections/public.ts`. */ export declare function createPublicCollectionChannel(client: MoteurClient, projectId: string, collectionId: string): { pages: { list(options?: { resolveAssets?: boolean; }): Promise; getBySlug(slug: string, options?: { resolveAssets?: boolean; }): Promise; get(id: string, options?: { resolveAssets?: boolean; }): Promise; }; entries: { /** * `limit`/`offset` page the list; `sort` is `id`, `createdAt`, `updatedAt` or * `publishedAt`, prefixed with `-` for descending. */ list(resourceId: string, options?: { resolveAssets?: boolean; resolveUrl?: boolean; limit?: number; offset?: number; sort?: string; }): Promise; get(resourceId: string, entryId: string, options?: { resolveAssets?: boolean; resolveUrl?: boolean; }): Promise; }; layouts: { list(): Promise; get(id: string): Promise; }; forms: { list(): Promise; get(id: string): Promise; }; /** Menus with item URLs resolved, fetched by handle (e.g. `main`, `footer`). */ menus: { list(): Promise; get(handle: string): Promise; }; }; //# sourceMappingURL=collectionChannel.d.ts.map