/** * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE */ import { Direction } from '@angular/cdk/bidi'; import { InjectionToken, TemplateRef, Type } from '@angular/core'; import { NzSafeAny } from 'ng-zorro-antd/core/types'; import { NzDrawerRef } from './drawer-ref'; export declare const DRAWER_DEFAULT_SIZE = 378; export declare const DRAWER_LARGE_SIZE = 736; export type NzDrawerPlacement = 'left' | 'right' | 'top' | 'bottom'; export type NzDrawerSize = 'default' | 'large'; export interface NzDrawerOptionsOfComponent { nzClosable?: boolean; nzMaskClosable?: boolean; nzCloseOnNavigation?: boolean; nzDirection?: Direction; nzMask?: boolean; nzKeyboard?: boolean; nzNoAnimation?: boolean; nzTitle?: string | TemplateRef<{}>; nzExtra?: string | TemplateRef<{}>; nzFooter?: string | TemplateRef<{}>; nzContent?: TemplateRef<{ $implicit: D; drawerRef: NzDrawerRef; }> | Type; /**@Deprecated**/ nzContentParams?: Partial; nzData?: D; nzMaskStyle?: object; nzBodyStyle?: object; nzWrapClassName?: string; nzSize?: NzDrawerSize; nzWidth?: number | string; nzHeight?: number | string; nzPlacement?: NzDrawerPlacement; nzZIndex?: number; nzOffsetX?: number; nzOffsetY?: number; } export interface NzDrawerOptions extends NzDrawerOptionsOfComponent { nzOnCancel?(): Promise; } export declare const NZ_DRAWER_DATA: InjectionToken;