1 | import { AnyComponent } from './any-component';
|
2 | export declare type CompProps<T> = {
|
3 | lazyComponent: () => Promise<{
|
4 | default: AnyComponent<T>;
|
5 | }>;
|
6 | } | {
|
7 | component: AnyComponent<T>;
|
8 | };
|
9 | export declare type StillProps<T> = {
|
10 | width: number;
|
11 | height: number;
|
12 | id: string;
|
13 | defaultProps?: T;
|
14 | } & CompProps<T>;
|
15 | declare type CompositionProps<T> = StillProps<T> & {
|
16 | fps: number;
|
17 | durationInFrames: number;
|
18 | };
|
19 | export declare const Composition: <T>({ width, height, fps, durationInFrames, id, defaultProps, ...compProps }: CompositionProps<T>) => null;
|
20 | export {};
|
21 |
|
\ | No newline at end of file |