1 | import React, { ComponentType, FC } from 'react';
|
2 | export declare const Folder: FC<{
|
3 | name: string;
|
4 | children: React.ReactNode;
|
5 | }>;
|
6 | declare type LooseComponentType<T> = ComponentType<T> | ((props: T) => React.ReactNode);
|
7 | export declare type CompProps<T> = {
|
8 | lazyComponent: () => Promise<{
|
9 | default: LooseComponentType<T>;
|
10 | }>;
|
11 | } | {
|
12 | component: LooseComponentType<T>;
|
13 | };
|
14 | export declare type StillProps<T> = {
|
15 | width: number;
|
16 | height: number;
|
17 | id: string;
|
18 | defaultProps?: T;
|
19 | } & CompProps<T>;
|
20 | declare type CompositionProps<T> = StillProps<T> & {
|
21 | fps: number;
|
22 | durationInFrames: number;
|
23 | };
|
24 | export declare const Composition: <T>({ width, height, fps, durationInFrames, id, defaultProps, ...compProps }: CompositionProps<T>) => null;
|
25 | export {};
|