/** * Completions for Handlebars for Marketing Cloud Next (MCN). * * Active only when a document targets Marketing Cloud Next * (`targetPlatform: 'next'`). Two completion surfaces are provided: * * - Helper completions inside a `{{ ... }}` mustache (the canonical MCN * helper catalog: built-in, mcn-helper, and platform helpers). * - Built-in `{!$...}` data binding completions when the cursor sits just * after a `{!$` token. * * Documentation Markdown is attached lazily in {@link resolveHandlebarsCompletion}. */ import type { CompletionItem, Position } from '../types.js'; export declare const handlebarsHelperCompletionItems: CompletionItem[]; export declare const handlebarsBindingCompletionItems: CompletionItem[]; /** * Return MCN Handlebars completions for the given document text and cursor * position. Returns an empty array when the cursor is not inside a Handlebars * mustache or a `{!$...}` binding token. * @param text - Full document text. * @param position - Cursor position. * @returns Array of completion items. */ export declare function getHandlebarsCompletions(text: string, position: Position): CompletionItem[]; /** * Resolve documentation for an MCN Handlebars completion item (lazy-loaded). * @param item - Completion item to resolve. * @returns The resolved completion item with documentation attached, or the * item unchanged when it is not a Handlebars item. */ export declare function resolveHandlebarsCompletion(item: CompletionItem): CompletionItem; //# sourceMappingURL=mcnHandlebars.d.ts.map