import { EventEmitter, OnDestroy, OnInit, QueryList } from '@angular/core'; import { IDataSource } from '@poweredsoft/data'; import { DsCommandContentDirective } from './directives/ds-command-content.directive'; import { DsCommandErrorDirective } from './directives/ds-command-error.directive'; import { DsCommandFooterDirective } from './directives/ds-command-footer.directive'; import { DsCommandNoCommandDirective } from './directives/ds-command-no-command.directive'; import { DsCommandSubmitDirective } from './directives/ds-command-submit.directive'; import { DsCommandValidationDirective } from './directives/ds-command-validation.directive'; export interface DsCommandPropertyError { name: string; errors: string[]; } export declare class DsCommandComponent implements OnInit, OnDestroy { private _refreshOnSuccess; params: any; dataSource: IDataSource; name: string; model: any; set refreshOnSuccess(val: boolean); get refreshOnSuccess(): boolean; resolveCommand: boolean; success: EventEmitter; loading: EventEmitter; commandChange: EventEmitter; commandContent: DsCommandContentDirective; footerContent: DsCommandFooterDirective; noCommandContent: DsCommandNoCommandDirective; errorContent: DsCommandErrorDirective; validationDirective: DsCommandValidationDirective; submitDirectives: QueryList; lastErrorMessage: string | null; lastValidationResult: DsCommandPropertyError[] | null; protected _command: any; private _loading; private _validationErrorSubscription; private _notifyMessageSubscription; set command(value: any); get noCommand(): boolean; get command(): any; get hasContent(): boolean; get footerTemplate(): import("@angular/core").TemplateRef; get hasFooterTemplate(): boolean; get hasValidationTemplate(): boolean; get validationTemplate(): import("@angular/core").TemplateRef; get contentTemplate(): import("@angular/core").TemplateRef; constructor(); clearValidationError(): void; clearLastErrorMessage(): void; ngOnDestroy(): void; ngOnInit(): void; resolveModel(): void; private changeLoadingState; childClicked($event: MouseEvent): void; execute(): void; get isLoading(): boolean; }