@tialro/rnbokit
Version:
<img width="493" alt="Screenshot 2023-11-24 at 15 43 41" src="static/sreenshot.jpeg">
56 lines (55 loc) • 1.16 kB
TypeScript
export default RnboInlet;
type RnboInlet = {
$on?(type: string, callback: (e: any) => void): () => void;
$set?(props: Partial<Props & {
[key: string]: any;
}>): void;
};
declare const RnboInlet: import("svelte").Component<{
device: import("@rnbo/js").Device;
inlet?: {
/**
* - the port index
*/
index: number;
/**
* - the tag
*/
tag: string;
/**
* - the type
*/
type: "signal";
/**
* - the meta
*/
meta: string;
};
mode?: "default" | "mic" | "dropIn";
children?: import("svelte").Snippet<[any]>;
} & {
[key: string]: any;
}, {}, "mode">;
type Props = {
device: import("@rnbo/js").Device;
inlet?: {
/**
* - the port index
*/
index: number;
/**
* - the tag
*/
tag: string;
/**
* - the type
*/
type: "signal";
/**
* - the meta
*/
meta: string;
};
mode?: "default" | "mic" | "dropIn";
children?: import("svelte").Snippet<[any]>;
};