/** @packageDocumentation
* @module StatusBar
*/
///
import { ConfigurableCreateInfo, ConfigurableUiControlType } from "../configurableui/ConfigurableUiControl";
import { WidgetControl } from "../widgets/WidgetControl";
/** Status Bar Field type.
* @public
*/
export declare type StatusBarFieldId = string | null;
/** Status Bar Widget Control render prop arguments.
* @public
*/
export interface StatusBarWidgetControlArgs {
/** Describes whether the footer is in widget or footer mode. */
isInFooterMode: boolean;
/** Currently open widget or null if no widget is open. */
openWidget: StatusBarFieldId;
/** Function called when the widget is being opened or closed. */
onOpenWidget: (widget: StatusBarFieldId) => void;
/** Element reference to which the toast will animate out to. */
toastTargetRef: React.Ref;
}
/** Status Bar Widget Control.
* @public
*/
export declare abstract class StatusBarWidgetControl extends WidgetControl {
constructor(info: ConfigurableCreateInfo, options: any);
/** Gets the React node associated with this StatusBar Widget Control */
abstract getReactNode(args: StatusBarWidgetControlArgs): React.ReactNode;
/** Gets the type of ConfigurableUiControl, which is 'StatusBarWidget' in this case */
getType(): ConfigurableUiControlType;
}
//# sourceMappingURL=StatusBarWidgetControl.d.ts.map