import { ElementRef } from 'angular2/core';
import { Ion } from '../ion';
import { Navbar } from '../navbar/navbar';
/**
* @private
*/
export declare class ToolbarBase extends Ion {
itemRefs: any[];
titleRef: any;
titleCmp: any;
constructor(elementRef: ElementRef);
/**
* @private
*/
setTitleCmp(titleCmp: any): void;
/**
* @private
* Returns the toolbar title text if it exists or an empty string
*/
getTitleText(): any;
/**
* @private
*/
getTitleRef(): any;
/**
* @private
* A toolbar items include the left and right side `ion-buttons`,
* and every `menu-toggle`. It does not include the `ion-title`.
* @returns {TODO} Array of this toolbar's item ElementRefs.
*/
getItemRefs(): any[];
/**
* @private
*/
addItemRef(itemElementRef: any): void;
}
/**
* @name Toolbar
* @description
* The toolbar is generic bar that sits above or below content.
* Unlike an `Navbar`, `Toolbar` can be used for a subheader as well.
* Since it's based on flexbox, you can place the toolbar where you
* need it and flexbox will handle everything else. Toolbars will automatically
* assume they should be placed before an `ion-content`, so to specify that you want it
* below, you can add the property `position="bottom"`. This will change the flex order
* property.
*
* @usage
* ```html
*
* My Toolbar Title
*
*
*
* I'm a subheader
*
*
*
*
*
* I'm a subfooter
*
*
*
* I'm a footer
*
*
* ```
*
* @property {any} [position] - set position of the toolbar, top or bottom. If not set, defautls to top.
* @demo /docs/v2/demos/toolbar/
* @see {@link ../../navbar/Navbar/ Navbar API Docs}
*/
export declare class Toolbar extends ToolbarBase {
constructor(elementRef: ElementRef);
}
/**
* @name Title
* @description
* `ion-title` is a component that sets the title of the `Toolbar` or `Navbar`
* @usage
* ```html
*
* Tab 1
*
*
*
*
* Tab 1
*
*
* SubHeader
*
* ```
* @demo /docs/v2/demos/title/
*/
export declare class ToolbarTitle extends Ion {
constructor(elementRef: ElementRef, toolbar: Toolbar, navbar: Navbar);
/**
* @private
*/
getTitleText(): any;
}
/**
* @private
*/
export declare class ToolbarItem {
inToolbar: boolean;
constructor(elementRef: ElementRef, toolbar: Toolbar, navbar: Navbar);
_buttons: any;
}