@selenite/graph-editor
Version:
A graph editor for visual programming, based on rete and svelte.
34 lines (33 loc) • 1.12 kB
TypeScript
type Props = {
variable: Variable;
};
import { type Variable } from '.';
import type { DataType } from '../../plugins/typed-sockets';
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
$$bindings?: Bindings;
} & Exports;
(internal: unknown, props: Props & {
$$events?: Events;
$$slots?: Slots;
}): Exports & {
$set?: any;
$on?: any;
};
z_$$bindings?: Bindings;
}
declare const VariableItem: $$__sveltets_2_IsomorphicComponent<Props, {
changetype: CustomEvent<{
type: DataType;
}>;
delete: CustomEvent<{
variable: Variable;
}>;
change: CustomEvent<{
variable: Variable;
}>;
} & {
[evt: string]: CustomEvent<any>;
}, {}, {}, "variable">;
type VariableItem = InstanceType<typeof VariableItem>;
export default VariableItem;