import { Resolver } from './variable-resolver'; import { Foam } from '../model/foam'; import { NoteCreationResult, NoteCreationTrigger, Template } from './note-creation-types'; /** * Unified engine for creating notes from both Markdown and JavaScript templates */ export declare class NoteCreationEngine { private foam; constructor(foam: Foam); /** * Processes a template and generates note content and filepath * This method only handles template processing, not file creation * * @param trigger The trigger that initiated the note creation * @param template The template object containing content or function * @param resolver Resolver instance with all variables pre-configured * @returns Promise resolving to the generated content and filepath */ processTemplate(trigger: NoteCreationTrigger, template: Template, resolver: Resolver): Promise; /** * Executes a JavaScript template */ private executeJSTemplate; /** * Executes a Markdown template using variable resolution */ private executeMarkdownTemplate; /** * Generates a default filepath when none is specified in the template */ private generateDefaultFilepath; /** * Validates the result returned by a JavaScript template */ private validateNoteCreationResult; /** * Logs trigger-specific information for debugging */ private logTriggerInfo; } //# sourceMappingURL=note-creation-engine.d.ts.map