/** * Copyright (c) Paymium. * * This source code is licensed under the MIT license found in the * LICENSE file in the root of this projects source tree. */ import type { ComponentType } from 'react'; export { useContext as useButtonContext } from './context'; export { useContextGroup as useButtonGroupContext } from './contextGroup'; export { useButtonGroupCollection } from './contextCollection'; export declare const createButton: , ButtonProps extends Record, TextProps extends Record, ElementProps extends Record, IconProps extends Record>(components: { Root: ComponentType; Group: ComponentType; Text: ComponentType; Element: ComponentType; Icon: ComponentType; }) => import("react").ForwardRefExoticComponent & import("react").RefAttributes> & { Group: import("react").ForwardRefExoticComponent & import("react").RefAttributes>; Text: import("react").ForwardRefExoticComponent & import("react").RefAttributes>; Element: import("react").ForwardRefExoticComponent & import("react").RefAttributes>; Icon: ComponentType; displayName: string; }; //# sourceMappingURL=index.d.ts.map