@api.stream/studio-kit
Version:
Client SDK for building studio experiences with API.stream
63 lines (62 loc) • 1.28 kB
TypeScript
import { Compositor } from '../core';
export declare const ForegroundLayers: ({
name: string;
id: string;
layout: string;
layoutProps: {
type: string;
cover?: undefined;
preset?: undefined;
};
} | {
name: string;
id: string;
layout: string;
layoutProps: {
cover: boolean;
type?: undefined;
preset?: undefined;
};
} | {
name: string;
id: string;
layout: string;
layoutProps?: undefined;
} | {
name: string;
id: string;
layout: string;
layoutProps: {
type: string;
preset: string;
cover?: undefined;
};
})[];
export declare const defaultStyles: {
custom: {
display: string;
};
alert: {
display: string;
position: string;
top: number;
left: number;
bottom: number;
right: number;
margin: string;
pointerEvents: string;
};
video: {
height: string;
width: string;
};
image: {
height: string;
width: string;
};
logo: {
objectFit: string;
position: string;
};
};
export declare const validateEachChildren: (children: Compositor.SceneNode[], allowedSourceTypes: string[]) => boolean;