import React from 'react'; import type { JsxComponentIdentity } from './CompositionManager.js'; import { type InteractivitySchema } from './interactivity-schema.js'; import type { AbsoluteFillLayout, SequenceProps } from './Sequence.js'; import { type WithInteractivitySchemaOptions } from './with-interactivity-schema.js'; type InteractiveHtmlTag = 'a' | 'article' | 'aside' | 'button' | 'code' | 'div' | 'em' | 'footer' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'header' | 'label' | 'li' | 'main' | 'nav' | 'ol' | 'p' | 'pre' | 'section' | 'small' | 'span' | 'strong' | 'ul'; type InteractiveSvgTag = 'circle' | 'ellipse' | 'g' | 'line' | 'path' | 'rect' | 'svg' | 'text'; type InteractiveTag = InteractiveHtmlTag | InteractiveSvgTag; type ElementForTag = Tag extends keyof HTMLElementTagNameMap ? HTMLElementTagNameMap[Tag] : Tag extends keyof SVGElementTagNameMap ? SVGElementTagNameMap[Tag] : Element; export type InteractiveBaseProps = Pick; export type InteractiveTransformProps = Pick; export type InteractiveCropProps = Pick; export type InteractivePremountProps = Pick; type InteractiveManagedProps = InteractiveBaseProps & InteractiveCropProps & InteractivePremountProps; type InteractiveElementProps = Omit, keyof InteractiveManagedProps> & InteractiveManagedProps; type InteractiveElementComponent = React.ComponentType & React.RefAttributes>>; type RemotionComponentIdentityPackage = 'remotion' | `@remotion/${string}`; declare const makeRemotionComponentIdentity: ({ packageName, componentName, }: { readonly packageName: RemotionComponentIdentityPackage; readonly componentName: string; }) => JsxComponentIdentity; type NonIntrinsicComponent = Component & React.ComponentType>; type KeysOfUnion = Props extends unknown ? keyof Props : never; type ComponentWithoutReservedProps = NonIntrinsicComponent & (Extract>, ReservedKey> extends never ? unknown : never); type WithSchemaReservedKey = keyof InteractiveBaseProps | keyof InteractiveCropProps | keyof InteractivePremountProps | 'controls'; type IsAny = 0 extends 1 & Value ? true : false; type StyleMemberAcceptsCssProperties