import type { SchemaMetadata, NodeDefinition } from '../../schema/types'; /** * Emits fulltext-related types for every node that declares at least one * `@fulltext` index (either directly on the node or on a relationship whose * `@relationshipProperties` type has fulltext indexes): * * - `FulltextResult` — score + the matched node * - `FulltextWhere` — filtering by score and node-level where * - `FulltextSort` — sorting by score and node-level sort * - `FulltextLeaf` — per-node leaf with literal index-name keys * - `FulltextInput` — leaf | OR/AND/NOT composition * * Also emits the shared `FloatWhere` and `FulltextIndexEntry` types used by * the typed inputs. * * Returns an empty string when no nodes have fulltext indexes (direct or via * a relationship-properties type). */ export declare function emitFulltextTypes(schema: SchemaMetadata): string; /** * Returns true when the node has a node-level fulltext index OR a * relationship whose `@relationshipProperties` type has fulltext indexes. * Exposed so the model-map emitter can decide whether to override the * `fulltext` parameter type on the generated `Model`. */ export declare function nodeHasAnyFulltext(node: NodeDefinition, schema: SchemaMetadata): boolean; //# sourceMappingURL=fulltext-emitter.d.ts.map