/**
 * @fileoverview
 * Test mocks that can be used by consumers of this library.
 * If you do not want to export a mock, add it to `common-mocks.spec.ts` instead.
 */
import { ComponentRef, EventEmitter, PipeTransform, Type } from '@angular/core';
import { Subject } from 'rxjs';
import { DialogContent } from '../display/dialog/dialog-content';
import { DialogOptions, DialogResult } from '../display/dialog/dialog.component';
/**
 * Mock dialog based on the content type, used to test open and close functionality
 * @deprecated Most components that need a dialog should use `dialogService.openDialog()`, which is much easier to test
 *               and does not require the use of this class. It is included for legacy test support only.
 */
export declare class MockDialog<T> {
    size?: number | 'xsmall' | 'small' | 'medium' | 'large';
    opened: EventEmitter<any>;
    closed: EventEmitter<any>;
    displayAsPanel: boolean;
    componentRef: ComponentRef<any>;
    lastContext?: T;
    open(component: Type<DialogContent<T>>, context?: T, options?: DialogOptions): Promise<void>;
    close(result?: DialogResult<T>): void;
}
/**
 * Mocked dialog content to test save and cancel
 */
export declare class MockDialogContent<T> implements DialogContent<T> {
    dialogId: string;
    openArg: T | undefined;
    onOpen: (openContext?: T | undefined) => void;
    onDialogSave: EventEmitter<T>;
    onDialogCancel: EventEmitter<void>;
    destroyed: Subject<any>;
}
/**
 * Mocked DateDisplayPipe
 */
export declare class MockDateDisplayPipe implements PipeTransform {
    transform(value?: Date | string | null): string;
}
