import type { PromptFragment } from '@cat-factory/contracts'; export type { PromptFragment } from '@cat-factory/contracts'; export declare const FRAGMENTS: PromptFragment[]; export { styleFragments, DEFAULT_DOCUMENT_STYLE_FRAGMENT_IDS } from './collections/style.js'; export { registerTaskTypeDefaultFragments, clearRegisteredTaskTypeDefaultFragments, defaultFragmentIdsForTaskType, } from './task-type-defaults.js'; export { MIGRATION_FRAGMENT_IDS, migrationFragmentIdsFor } from './collections/migration.js'; /** Fragments keyed by id for O(1) lookup during prompt composition. */ export declare const FRAGMENTS_BY_ID: ReadonlyMap; /** Register a custom prompt fragment into the universal pool. Re-registering an id replaces it. */ export declare function registerPromptFragment(fragment: PromptFragment): void; /** Register several custom prompt fragments at once. */ export declare function registerPromptFragments(fragments: Iterable): void; /** Drop all registered fragments. Intended for tests that exercise registration. */ export declare function clearRegisteredPromptFragments(): void; /** * The universal fragment pool: the built-in catalog plus any deployment-registered * fragments, with a registered id shadowing the built-in of the same id. This is what * the catalog endpoint serves and what a service's fragment selection is drawn from. */ export declare function universalFragments(): PromptFragment[]; /** * Resolve a fragment by id, or `undefined` if no such fragment exists. Checks the * deployment-registered fragments first (override-by-id) then the built-in catalog. */ export declare function getFragment(id: string): PromptFragment | undefined; //# sourceMappingURL=index.d.ts.map