/************
Processor: ts
************/
import * as __beyond_dep_ns_0 from 'framer-motion';
import * as __beyond_dep_ns_1 from 'react';
import __beyond_dep_def_1 from 'react';
// index.tsx
declare namespace ns_0 {
///
import IPUIProps = ns_1.IPUIProps;
interface BaseComponentProps extends IPUIProps {
motion?: boolean;
}
export function BaseComponent({
as,
motion: useMotion,
children,
...restProps
}: BaseComponentProps): JSX.Element;
export {};
}
// types.ts
declare namespace ns_1 {
import motion = __beyond_dep_ns_0;
import React = __beyond_dep_def_1;
import HTMLAttributes = __beyond_dep_ns_1.HTMLAttributes;
import AnimationEventHandler = __beyond_dep_ns_1.AnimationEventHandler;
type ConflictingProps = 'onAnimationStart' | 'onAnimationEnd' | 'onAnimationIteration';
type HTMLMotionProps = Omit, ConflictingProps> & motion.MotionProps & {
onAnimationStart?: AnimationEventHandler;
onAnimationEnd?: AnimationEventHandler;
onAnimationIteration?: AnimationEventHandler;
};
export interface IPUIProps extends HTMLMotionProps {
/**
* @deprecated
*/
type?: string;
title?: string;
children?: React.ReactNode;
variant?: PuiVariant;
className?: string;
as?: string;
}
export type PuiVariant = 'primary' | 'secondary' | 'tertiary' | 'success' | 'info' | 'error' | 'warning' | 'default';
export {};
}
export import BaseComponent = ns_0.BaseComponent;
export import IPUIProps = ns_1.IPUIProps;
export declare const hmr: {on: (event: string, listener: any) => void, off: (event: string, listener: any) => void };