remotion 4.0.489 → 4.0.491

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import type { SequenceControls } from './CompositionManager.js';
2
+ import type { JsxComponentIdentity, SequenceControls } from './CompositionManager.js';
3
3
  import { type InteractivitySchema } from './interactivity-schema.js';
4
4
  export declare const getNestedValue: (obj: Record<string, unknown>, key: string) => unknown;
5
5
  export declare const getRuntimeValueForSchemaKey: ({ flatSchema, key, props, }: {
@@ -16,12 +16,13 @@ export declare const mergeValues: ({ flatSchema, props, valuesDotNotation, schem
16
16
  schemaKeys: string[];
17
17
  propsToDelete: Set<string>;
18
18
  }) => Record<string, unknown>;
19
- export declare const withInteractivitySchema: <S extends InteractivitySchema, Props extends object>({ Component, componentName, componentIdentity, schema, supportsEffects, }: {
19
+ export type WithInteractivitySchemaOptions<S extends InteractivitySchema, Props extends object> = {
20
20
  Component: React.ComponentType<Props & {
21
21
  readonly controls: SequenceControls | undefined;
22
22
  }>;
23
23
  componentName: string;
24
- componentIdentity: string | null;
24
+ componentIdentity: JsxComponentIdentity | null;
25
25
  schema: S;
26
26
  supportsEffects: boolean;
27
- }) => React.ComponentType<Props>;
27
+ };
28
+ export declare const withInteractivitySchema: <S extends InteractivitySchema, Props extends object>({ Component, componentName, componentIdentity, schema, supportsEffects, }: WithInteractivitySchemaOptions<S, Props>) => React.ComponentType<Props>;