import React, { ElementType } from 'react'; import { Props } from '../../types'; declare let DEFAULT_TABS_TAG: React.ExoticComponent<{ children?: React.ReactNode; }>; interface TabsRenderPropArg { selectedIndex: number; } declare function Tabs(props: Props & { defaultIndex?: number; onChange?: (index: number) => void; vertical?: boolean; manual?: boolean; }): JSX.Element; interface ListRenderPropArg { selectedIndex: number; } declare type ListPropsWeControl = 'role' | 'aria-orientation'; declare let DEFAULT_TAB_TAG: "button"; interface TabRenderPropArg { selected: boolean; } declare type TabPropsWeControl = 'id' | 'role' | 'type' | 'aria-controls' | 'aria-selected' | 'tabIndex'; export declare function Tab(props: Props): React.ReactElement React.ReactElement React.Component)> | null) | (new (props: any) => React.Component)> | null; export declare namespace Tab { var Group: typeof Tabs; var List: = "div">(props: Props) => React.ReactElement React.ReactElement React.Component)> | null) | (new (props: any) => React.Component)> | null; var Panels: = "div">(props: Props) => React.ReactElement React.ReactElement React.Component)> | null) | (new (props: any) => React.Component)> | null; var Panel: = "div">(props: (Pick, Exclude, "children" | "as" | "refName" | "className" | "role">> & { as?: TTag | undefined; children?: string | number | boolean | {} | React.ReactElement React.ReactElement React.Component)> | null) | (new (props: any) => React.Component)> | React.ReactNodeArray | React.ReactPortal | ((bag: PanelRenderPropArg) => React.ReactElement React.ReactElement React.Component)> | null) | (new (props: any) => React.Component)>) | null | undefined; refName?: string | undefined; } & (import("../../types").PropsOf extends { className?: any; } ? { className?: string | ((bag: PanelRenderPropArg) => string) | undefined; } : {}) & { static?: undefined; } & { unmount?: boolean | undefined; }) | (Pick, Exclude, "children" | "as" | "refName" | "className" | "role">> & { as?: TTag | undefined; children?: string | number | boolean | {} | React.ReactElement React.ReactElement React.Component)> | null) | (new (props: any) => React.Component)> | React.ReactNodeArray | React.ReactPortal | ((bag: PanelRenderPropArg) => React.ReactElement React.ReactElement React.Component)> | null) | (new (props: any) => React.Component)>) | null | undefined; refName?: string | undefined; } & (import("../../types").PropsOf extends { className?: any; } ? { className?: string | ((bag: PanelRenderPropArg) => string) | undefined; } : {}) & { unmount?: undefined; } & { static?: boolean | undefined; }) | (Pick, Exclude, "children" | "as" | "refName" | "className" | "id">> & { as?: TTag | undefined; children?: string | number | boolean | {} | React.ReactElement React.ReactElement React.Component)> | null) | (new (props: any) => React.Component)> | React.ReactNodeArray | React.ReactPortal | ((bag: PanelRenderPropArg) => React.ReactElement React.ReactElement React.Component)> | null) | (new (props: any) => React.Component)>) | null | undefined; refName?: string | undefined; } & (import("../../types").PropsOf extends { className?: any; } ? { className?: string | ((bag: PanelRenderPropArg) => string) | undefined; } : {}) & { static?: undefined; } & { unmount?: boolean | undefined; }) | (Pick, Exclude, "children" | "as" | "refName" | "className" | "id">> & { as?: TTag | undefined; children?: string | number | boolean | {} | React.ReactElement React.ReactElement React.Component)> | null) | (new (props: any) => React.Component)> | React.ReactNodeArray | React.ReactPortal | ((bag: PanelRenderPropArg) => React.ReactElement React.ReactElement React.Component)> | null) | (new (props: any) => React.Component)>) | null | undefined; refName?: string | undefined; } & (import("../../types").PropsOf extends { className?: any; } ? { className?: string | ((bag: PanelRenderPropArg) => string) | undefined; } : {}) & { unmount?: undefined; } & { static?: boolean | undefined; }) | (Pick, Exclude, "children" | "as" | "refName" | "className" | "tabIndex">> & { as?: TTag | undefined; children?: string | number | boolean | {} | React.ReactElement React.ReactElement React.Component)> | null) | (new (props: any) => React.Component)> | React.ReactNodeArray | React.ReactPortal | ((bag: PanelRenderPropArg) => React.ReactElement React.ReactElement React.Component)> | null) | (new (props: any) => React.Component)>) | null | undefined; refName?: string | undefined; } & (import("../../types").PropsOf extends { className?: any; } ? { className?: string | ((bag: PanelRenderPropArg) => string) | undefined; } : {}) & { static?: undefined; } & { unmount?: boolean | undefined; }) | (Pick, Exclude, "children" | "as" | "refName" | "className" | "tabIndex">> & { as?: TTag | undefined; children?: string | number | boolean | {} | React.ReactElement React.ReactElement React.Component)> | null) | (new (props: any) => React.Component)> | React.ReactNodeArray | React.ReactPortal | ((bag: PanelRenderPropArg) => React.ReactElement React.ReactElement React.Component)> | null) | (new (props: any) => React.Component)>) | null | undefined; refName?: string | undefined; } & (import("../../types").PropsOf extends { className?: any; } ? { className?: string | ((bag: PanelRenderPropArg) => string) | undefined; } : {}) & { unmount?: undefined; } & { static?: boolean | undefined; }) | (Pick, Exclude, "children" | "as" | "refName" | "className" | "aria-labelledby">> & { as?: TTag | undefined; children?: string | number | boolean | {} | React.ReactElement React.ReactElement React.Component)> | null) | (new (props: any) => React.Component)> | React.ReactNodeArray | React.ReactPortal | ((bag: PanelRenderPropArg) => React.ReactElement React.ReactElement React.Component)> | null) | (new (props: any) => React.Component)>) | null | undefined; refName?: string | undefined; } & (import("../../types").PropsOf extends { className?: any; } ? { className?: string | ((bag: PanelRenderPropArg) => string) | undefined; } : {}) & { static?: undefined; } & { unmount?: boolean | undefined; }) | (Pick, Exclude, "children" | "as" | "refName" | "className" | "aria-labelledby">> & { as?: TTag | undefined; children?: string | number | boolean | {} | React.ReactElement React.ReactElement React.Component)> | null) | (new (props: any) => React.Component)> | React.ReactNodeArray | React.ReactPortal | ((bag: PanelRenderPropArg) => React.ReactElement React.ReactElement React.Component)> | null) | (new (props: any) => React.Component)>) | null | undefined; refName?: string | undefined; } & (import("../../types").PropsOf extends { className?: any; } ? { className?: string | ((bag: PanelRenderPropArg) => string) | undefined; } : {}) & { unmount?: undefined; } & { static?: boolean | undefined; })) => React.ReactElement React.ReactElement React.Component)> | null) | (new (props: any) => React.Component)> | null; } interface PanelsRenderPropArg { selectedIndex: number; } interface PanelRenderPropArg { selected: boolean; } export {};