import { ICreateNoteService } from '../../../../domain/note/service/create-note-service'; import { AddNoteParams } from '../../../typing/add-note-params'; import { Note } from '../../../typing/note'; import { INoteFactory } from './note-factory'; export type AddNoteCommandParams = AddNoteParams; export interface IAddNoteCommand { execute(params: AddNoteCommandParams): Promise; } export declare class AddNoteCommand implements IAddNoteCommand { private readonly createNoteService; private readonly noteFactory; constructor(createNoteService: ICreateNoteService, noteFactory: INoteFactory); execute(params: AddNoteCommandParams): Promise; }