interface ControllerShape {
create(options: Opts): Promise;
dismiss(data?: any, role?: string, id?: string): Promise;
getTop(): Promise;
}
export declare class OverlayBaseController implements ControllerShape {
private ctrl;
constructor(ctrl: ControllerShape);
/**
* Creates a new overlay
*/
create(opts?: Opts): Promise;
/**
* When `id` is not provided, it dismisses the top overlay.
*/
dismiss(data?: any, role?: string, id?: string): Promise;
/**
* Returns the top overlay.
*/
getTop(): Promise;
}
export {};