import type { Schema } from '../types/schema.js'; /** * Check if a collection exists in the context schema. * @param collection - The collection to check. * @param contextSchema - The context schema. * @returns The collection if it exists, otherwise an error. */ export declare function checkCollection(collection: string, contextSchema: Schema): Record | { isError: boolean; content: { type: "text"; text: string; }[]; } | undefined;