import { Accessor, JSX, JSXElement } from 'solid-js';
import { Atom } from '@cn-ui/use';
import { TabPaneProps, TabsProps } from './interface';
export declare const TabsContext: import("solid-js").Context<{
    /** 注册一个 Tabs */
    register: (data: TabPaneProps) => void;
    activeId: Atom<string>;
    TabsData: Atom<TabPaneProps[]>;
}>;
export interface TabsHeaderProps extends JSX.HTMLAttributes<HTMLDivElement> {
    tab?: (props: TabPaneProps, index: Accessor<number>) => JSXElement;
    children?: JSXElement;
}
export declare const TabsHeader: import("solid-js").Component<Omit<TabsHeaderProps, "style" | "class"> & {
    ref?: HTMLDivElement | ((el: HTMLDivElement) => void);
    style?: string | JSX.CSSProperties;
    className?: string | string[] | typeof import("@cn-ui/use").classNames;
    class?: string | string[] | typeof import("@cn-ui/use").classNames;
    classList?: typeof import("@cn-ui/use").classNames | {
        [k: string]: boolean;
    };
}>;
export declare const Tabs: import("solid-js").Component<Omit<TabsProps, "style" | "class"> & {
    ref?: HTMLDivElement | ((el: HTMLDivElement) => void);
    style?: string | JSX.CSSProperties;
    className?: string | string[] | typeof import("@cn-ui/use").classNames;
    class?: string | string[] | typeof import("@cn-ui/use").classNames;
    classList?: typeof import("@cn-ui/use").classNames | {
        [k: string]: boolean;
    };
}>;
