import { ResolvedReflectiveProvider } from '@angular/core'; import { DROP_IN_TYPE, FluentAssignMethod } from 'angular2-modal'; import { Modal } from '../modal'; import { DialogPreset, DialogPresetBuilder } from './dialog-preset'; /** * Data definition */ export declare class DropInPreset extends DialogPreset { /** * the message to display on the modal. */ message: string; /** * OK button caption. * Default: OK * Set to false ('', undefined, null, false) to remove button. */ okBtn: string; /** * Cancel button caption. * Default: Cancel * Set to false ('', undefined, null, false) to remove button. */ cancelBtn: string; /** * A placeholder for the input element. * Valid only for prompt modal. */ placeholder: string; dropInType: DROP_IN_TYPE; readonly showInput: boolean; } /** * A Preset representing all 3 drop ins (alert, prompt, confirm) */ export declare class DropInPresetBuilder extends DialogPresetBuilder { /** * the message to display on the modal. */ message: FluentAssignMethod; /** * The default Ok button caption. */ okBtn: FluentAssignMethod; /** * The default Cancel button caption. */ cancelBtn: FluentAssignMethod; /** * A placeholder for the input element. * Valid only for prompt modal. */ placeholder: FluentAssignMethod; constructor(modal: Modal, dropInType: DROP_IN_TYPE, defaultValues?: DropInPreset); $$beforeOpen(config: DropInPreset): ResolvedReflectiveProvider[]; }