import { ICreateCardService } from '../../../../domain/card/service/create-card-service'; import { AddCardParams } from '../../../typing/add-card-params'; import { Card } from '../../../typing/card'; import { ICardFactory } from './card-factory'; export type AddCardCommandParams = AddCardParams; export interface IAddCardCommand { execute(params: AddCardCommandParams): Promise; } export declare class AddCardCommand implements IAddCardCommand { private readonly createCardService; private readonly cardFactory; constructor(createCardService: ICreateCardService, cardFactory: ICardFactory); execute(params: AddCardCommandParams): Promise; }