import * as React from 'react'; import { StandardProps } from '../../common'; export declare enum StackPanelDirection { leftToRight = "left", rightToLeft = "right", topToBottom = "top", bottomToTop = "bottom" } export interface StackPanelProps extends StandardProps { /** * Sets the panel's children. */ children?: React.ReactNode; /** * Sets the direction of the panel's items. By default left to right. * @default left */ direction?: StackPanelDirection; /** * Determines if the stack should be wrapped. By default it is not wrapped. * @default false */ wrap?: boolean; /** * Gets the reference to the underlying HTML DOM element. */ innerRef?(instance: HTMLElement | null): void; } export interface StackLayoutProps { wrapping: string; dir: string; theme: any; } /** * The stack panel displays a stack of children in a given direction. */ export declare const StackPanel: React.SFC & { inner: { readonly StackLayout: any; }; };