@felipe-software/react-native-gpui 0.0.0-stage → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.reanimated-prebuilt/react-native-reanimated.mjs +29373 -0
- package/LICENSE +21 -0
- package/README.md +657 -2
- package/cli/bin.ts +379 -0
- package/cli/bundle.ts +32 -0
- package/cli/commands/do.ts +213 -0
- package/cli/commands/flow.ts +283 -0
- package/cli/commands/get.ts +584 -0
- package/cli/commands/shot.ts +312 -0
- package/cli/commands/trace.ts +293 -0
- package/cli/host.ts +714 -0
- package/cli/hotReload.ts +210 -0
- package/cli/run.ts +66 -0
- package/cli/selectors.ts +205 -0
- package/dist/Animated.d.ts +120 -0
- package/dist/ChatList.d.ts +28 -0
- package/dist/Dimensions.d.ts +31 -0
- package/dist/StyleSheet.d.ts +18 -0
- package/dist/Window.d.ts +33 -0
- package/dist/apis.d.ts +165 -0
- package/dist/app-state.d.ts +27 -0
- package/dist/chat-list-types.d.ts +136 -0
- package/dist/colors.d.ts +32 -0
- package/dist/commands.d.ts +230 -0
- package/dist/components.d.ts +419 -0
- package/dist/hotModules.d.ts +1 -0
- package/dist/index.d.ts +31 -0
- package/dist/index.development.js +14876 -0
- package/dist/index.js +12 -0
- package/dist/keyboard.d.ts +140 -0
- package/dist/native-menu.d.ts +7 -0
- package/dist/platform-driver.d.ts +32 -0
- package/dist/platform-services.d.ts +35 -0
- package/dist/portal.d.ts +43 -0
- package/dist/raf.d.ts +4 -0
- package/dist/reanimated/colors-processor-shim.d.ts +10 -0
- package/dist/reanimated/reanimated-host.d.ts +10 -0
- package/dist/reanimated/seam.d.ts +34 -0
- package/dist/reanimated/ui-entry.d.ts +2 -0
- package/dist/reanimated/worklet-channel.d.ts +10 -0
- package/dist/reanimated/worklet-runtime.d.ts +466 -0
- package/dist/reanimated/worklets.d.ts +199 -0
- package/dist/reconciler.d.ts +102 -0
- package/dist/refresh.d.ts +1 -0
- package/dist/render.d.ts +37 -0
- package/dist/runtime.d.ts +235 -0
- package/dist/surfaces.d.ts +51 -0
- package/dist/types.d.ts +276 -0
- package/dist/ui-runtime.js +42276 -0
- package/dist/window-context.d.ts +7 -0
- package/dist/window-host.d.ts +41 -0
- package/dist/wire-delta.d.ts +20 -0
- package/package.json +176 -5
- package/scripts/bundle-app.mjs +88 -0
- package/scripts/conformance-utils.mjs +293 -0
- package/scripts/hot-update-alias-plugin.mjs +88 -0
- package/scripts/native-package-exports-plugin.mjs +235 -0
- package/scripts/pixel.mjs +152 -0
- package/scripts/png.mjs +198 -0
- package/scripts/react-refresh-swc.mjs +35 -0
- package/scripts/reanimated-bun-plugin.mjs +188 -0
- package/scripts/service-binary.d.mts +27 -0
- package/scripts/service-binary.mjs +100 -0
- package/src/reanimated/colors-processor-shim.ts +119 -0
- package/src/reanimated/reanimated-host.ts +69 -0
- package/src/reanimated/rngpui-reanimated-prebuilt.d.ts +7 -0
- package/src/reanimated/seam.ts +566 -0
- package/src/reanimated/ui-entry.ts +80 -0
- package/src/reanimated/worklet-channel.ts +64 -0
- package/src/reanimated/worklet-runtime.ts +2569 -0
- package/src/reanimated/worklets.ts +1334 -0
- package/src/refresh.ts +33 -0
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
import { type ReactNode, type Ref, type RefCallback } from "react";
|
|
2
|
+
export type KeyboardNavigationDirection = "up" | "down" | "left" | "right";
|
|
3
|
+
export type KeyboardNavigationSequentialDirection = 1 | -1;
|
|
4
|
+
export type KeyboardNavigationReason = "keyboard" | "pointer" | "programmatic";
|
|
5
|
+
export type KeyboardNavigationVerticalScope = "group" | "all";
|
|
6
|
+
export type KeyboardNavigationRect = {
|
|
7
|
+
x: number;
|
|
8
|
+
y: number;
|
|
9
|
+
width: number;
|
|
10
|
+
height: number;
|
|
11
|
+
};
|
|
12
|
+
export type KeyboardNavigationTargetModel = {
|
|
13
|
+
id: string;
|
|
14
|
+
group?: string;
|
|
15
|
+
disabled?: boolean;
|
|
16
|
+
rect?: KeyboardNavigationRect;
|
|
17
|
+
};
|
|
18
|
+
export type KeyboardNavigationModelOptions = {
|
|
19
|
+
groupOrder?: readonly string[];
|
|
20
|
+
verticalScope?: KeyboardNavigationVerticalScope;
|
|
21
|
+
};
|
|
22
|
+
export type KeyboardNavigationFocusOptions = {
|
|
23
|
+
focusVisible?: boolean;
|
|
24
|
+
reason?: KeyboardNavigationReason;
|
|
25
|
+
direction?: KeyboardNavigationDirection | "next" | "previous";
|
|
26
|
+
};
|
|
27
|
+
export type KeyboardNavigationChange = {
|
|
28
|
+
previousId: string;
|
|
29
|
+
id: string;
|
|
30
|
+
previousTarget?: KeyboardNavigationTargetModel;
|
|
31
|
+
target: KeyboardNavigationTargetModel;
|
|
32
|
+
reason: KeyboardNavigationReason;
|
|
33
|
+
direction?: KeyboardNavigationDirection | "next" | "previous";
|
|
34
|
+
};
|
|
35
|
+
export type KeyboardNavigationTarget = KeyboardNavigationTargetModel & {
|
|
36
|
+
textEntry?: boolean;
|
|
37
|
+
activateOnArrow?: boolean;
|
|
38
|
+
onActivate?: (event?: unknown) => void;
|
|
39
|
+
onFocus?: (change: KeyboardNavigationChange) => void;
|
|
40
|
+
onBlur?: (change: KeyboardNavigationChange) => void;
|
|
41
|
+
onDismiss?: () => boolean;
|
|
42
|
+
onMove?: (direction: KeyboardNavigationDirection) => boolean;
|
|
43
|
+
onPreviewMove?: (direction: KeyboardNavigationDirection) => boolean;
|
|
44
|
+
onUnhandledMove?: (direction: KeyboardNavigationDirection) => boolean;
|
|
45
|
+
onSequentialMove?: (direction: KeyboardNavigationSequentialDirection) => boolean;
|
|
46
|
+
pressToActivate?: boolean;
|
|
47
|
+
composeRef?: Ref<unknown>;
|
|
48
|
+
};
|
|
49
|
+
export type KeyboardNavigationState = {
|
|
50
|
+
focusedId: string;
|
|
51
|
+
focusedGroup: string;
|
|
52
|
+
focusVisible: boolean;
|
|
53
|
+
focusedTextEntry: boolean;
|
|
54
|
+
};
|
|
55
|
+
export type KeyboardNavigationController = {
|
|
56
|
+
focusedId: string;
|
|
57
|
+
focusedGroup: string;
|
|
58
|
+
focusVisible: boolean;
|
|
59
|
+
focusedTextEntry: boolean;
|
|
60
|
+
focusTarget: (id: string, options?: KeyboardNavigationFocusOptions) => boolean;
|
|
61
|
+
reportRect: (id: string, rect: KeyboardNavigationRect) => void;
|
|
62
|
+
focusFirstInGroup: (group: string) => boolean;
|
|
63
|
+
moveFocus: (direction: KeyboardNavigationDirection, mode?: "preview" | "immediate") => boolean;
|
|
64
|
+
moveSequentialFocus: (direction: KeyboardNavigationSequentialDirection, options?: {
|
|
65
|
+
allowTextEntry?: boolean;
|
|
66
|
+
}) => boolean;
|
|
67
|
+
activateFocused: () => boolean;
|
|
68
|
+
dismissFocused: () => boolean;
|
|
69
|
+
restoreLastNonTextFocus: () => boolean;
|
|
70
|
+
registerTarget: (target: KeyboardNavigationTarget) => () => void;
|
|
71
|
+
subscribeState: (listener: () => void) => () => void;
|
|
72
|
+
stateSnapshot: () => KeyboardNavigationState;
|
|
73
|
+
subscribeTarget: (id: string, listener: () => void) => () => void;
|
|
74
|
+
targetSnapshot: (id: string) => string;
|
|
75
|
+
debugTargets: () => KeyboardNavigationTargetModel[];
|
|
76
|
+
idPrefix: string;
|
|
77
|
+
};
|
|
78
|
+
export type KeyboardNavigationControllerOptions = KeyboardNavigationModelOptions & {
|
|
79
|
+
initialId: string;
|
|
80
|
+
initialGroup?: string;
|
|
81
|
+
initialFocusVisible?: boolean;
|
|
82
|
+
idPrefix?: string;
|
|
83
|
+
onFocusChange?: (change: KeyboardNavigationChange) => void;
|
|
84
|
+
};
|
|
85
|
+
export type KeyboardNavigationKeyPressOptions = {
|
|
86
|
+
enabled?: boolean;
|
|
87
|
+
allowTextEntryTab?: boolean;
|
|
88
|
+
onEscape?: () => void;
|
|
89
|
+
shouldHandleEvent?: (event: unknown) => boolean;
|
|
90
|
+
};
|
|
91
|
+
export type KeyboardNavigationEventLike = {
|
|
92
|
+
nativeEvent?: {
|
|
93
|
+
key?: string;
|
|
94
|
+
shiftKey?: boolean;
|
|
95
|
+
ctrlKey?: boolean;
|
|
96
|
+
altKey?: boolean;
|
|
97
|
+
metaKey?: boolean;
|
|
98
|
+
isComposing?: boolean;
|
|
99
|
+
};
|
|
100
|
+
key?: string;
|
|
101
|
+
shiftKey?: boolean;
|
|
102
|
+
ctrlKey?: boolean;
|
|
103
|
+
altKey?: boolean;
|
|
104
|
+
metaKey?: boolean;
|
|
105
|
+
isComposing?: boolean;
|
|
106
|
+
};
|
|
107
|
+
export declare function KeyboardNavigationProvider({ controller, children, }: {
|
|
108
|
+
controller: KeyboardNavigationController;
|
|
109
|
+
children: ReactNode;
|
|
110
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
111
|
+
export declare function useKeyboardNavigation(): KeyboardNavigationController | null;
|
|
112
|
+
export declare function mergeRefs<T>(...refs: Array<Ref<T> | undefined | null>): RefCallback<T>;
|
|
113
|
+
export declare function enabledKeyboardNavigationTargets(targets: KeyboardNavigationTargetModel[]): KeyboardNavigationTargetModel[];
|
|
114
|
+
export declare function firstKeyboardNavigationTarget(targets: KeyboardNavigationTargetModel[], options?: KeyboardNavigationModelOptions): string;
|
|
115
|
+
export declare function nextKeyboardNavigationTarget(targets: KeyboardNavigationTargetModel[], currentId: string, direction: KeyboardNavigationDirection, options?: KeyboardNavigationModelOptions): string;
|
|
116
|
+
export declare function nextSequentialKeyboardNavigationTarget(targets: KeyboardNavigationTargetModel[], currentId: string, direction: KeyboardNavigationSequentialDirection, options?: KeyboardNavigationModelOptions): string;
|
|
117
|
+
export declare function useKeyboardNavigationController(optionsOrInitialId: KeyboardNavigationControllerOptions | string): KeyboardNavigationController;
|
|
118
|
+
export declare function useKeyboardNavigationState(controller: KeyboardNavigationController): KeyboardNavigationState;
|
|
119
|
+
export declare function useKeyboardNavigationTarget(target: KeyboardNavigationTarget): {
|
|
120
|
+
focused: boolean;
|
|
121
|
+
focusVisible: boolean;
|
|
122
|
+
focus: () => boolean;
|
|
123
|
+
activate: (event?: unknown) => void;
|
|
124
|
+
targetProps: {
|
|
125
|
+
onPress?: ((event?: unknown) => void) | undefined;
|
|
126
|
+
ref?: RefCallback<unknown> | undefined;
|
|
127
|
+
id: string;
|
|
128
|
+
tabIndex: 0 | undefined;
|
|
129
|
+
} | {
|
|
130
|
+
onPress?: ((event?: unknown) => void) | undefined;
|
|
131
|
+
nativeID: string;
|
|
132
|
+
ref: RefCallback<unknown>;
|
|
133
|
+
tabIndex: 0 | undefined;
|
|
134
|
+
};
|
|
135
|
+
};
|
|
136
|
+
export declare function useKeyboardNavigationKeyPress(controller: KeyboardNavigationController, options?: KeyboardNavigationKeyPressOptions): (event: unknown) => boolean;
|
|
137
|
+
export declare function hasKeyboardNavigationModifier(event: KeyboardNavigationEventLike, options?: {
|
|
138
|
+
allowShift?: boolean;
|
|
139
|
+
}): boolean;
|
|
140
|
+
export declare function useKeyboardNavigationWindowKeyboard(controller: KeyboardNavigationController, options?: KeyboardNavigationKeyPressOptions): (event: unknown) => boolean;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export type PseudoState = {
|
|
2
|
+
hovered: boolean;
|
|
3
|
+
pressed: boolean;
|
|
4
|
+
};
|
|
5
|
+
export type PseudoListener = (state: PseudoState) => void;
|
|
6
|
+
/**
|
|
7
|
+
* Register a listener for a node's native hover/press flips, keyed by globalId, and turn on
|
|
8
|
+
* the host's per-node opt-in. Returns a dispose that removes the listener and clears the
|
|
9
|
+
* opt-in once the node has no listeners left. Used by `platformDriver.pseudo.subscribe`.
|
|
10
|
+
*/
|
|
11
|
+
export declare function registerPseudoListener(globalId: number, listener: PseudoListener): () => void;
|
|
12
|
+
/**
|
|
13
|
+
* Fan a host `pseudo` event to the node's listeners. Called by the render layer's host-event
|
|
14
|
+
* dispatch (render.ts) for `event === "pseudo"` — BEFORE the React `dispatchEvent` path, so
|
|
15
|
+
* pseudo state drives the listener (and tamagui's animation driver) without a React commit.
|
|
16
|
+
*/
|
|
17
|
+
export declare function dispatchPseudo(globalId: number, hovered: boolean, pressed: boolean): void;
|
|
18
|
+
/**
|
|
19
|
+
* The renderer platform driver. tamagui's `@tamagui/core` `setupPlatformDriver(driver)`
|
|
20
|
+
* consumes this: when a driver with `pseudo` is present, createComponent skips wiring its own
|
|
21
|
+
* hover/press React event handlers, opens the avoidReRenders gate for any component with
|
|
22
|
+
* pseudo styles, and feeds this signal into its existing setStateShallow/emitter path so the
|
|
23
|
+
* style update rides the animation driver (spring if styled, instant otherwise) with zero
|
|
24
|
+
* React commits. More capabilities (measure, focus, scroll) can slot in over time.
|
|
25
|
+
*/
|
|
26
|
+
export declare const platformDriver: {
|
|
27
|
+
pseudo: {
|
|
28
|
+
subscribe(hostInstance: {
|
|
29
|
+
id: number;
|
|
30
|
+
}, listener: PseudoListener): () => void;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
declare global {
|
|
2
|
+
var __rngpui_platformRequest: ((op: string, args: unknown) => Promise<unknown>) | undefined;
|
|
3
|
+
var __rngpui_storageInfo: {
|
|
4
|
+
persistent: boolean;
|
|
5
|
+
path: string | null;
|
|
6
|
+
} | undefined;
|
|
7
|
+
}
|
|
8
|
+
export declare function platformRequest<T>(op: string, args: unknown): Promise<T>;
|
|
9
|
+
export type NotificationOptions = {
|
|
10
|
+
title: string;
|
|
11
|
+
body?: string;
|
|
12
|
+
};
|
|
13
|
+
export declare const Notifications: {
|
|
14
|
+
isAvailable(): boolean;
|
|
15
|
+
show(options: NotificationOptions): Promise<boolean>;
|
|
16
|
+
};
|
|
17
|
+
export type SoundSource = "ping" | (string & {});
|
|
18
|
+
export type SoundOptions = {
|
|
19
|
+
volume?: number;
|
|
20
|
+
};
|
|
21
|
+
export declare const Sound: {
|
|
22
|
+
isAvailable(): boolean;
|
|
23
|
+
play(source?: SoundSource, options?: SoundOptions): Promise<void>;
|
|
24
|
+
};
|
|
25
|
+
export declare const Processes: {
|
|
26
|
+
isAvailable(): boolean;
|
|
27
|
+
findRunning(names: readonly string[]): Promise<string[]>;
|
|
28
|
+
};
|
|
29
|
+
export declare const LocalStorage: {
|
|
30
|
+
isPersistent(): boolean;
|
|
31
|
+
getPath(): string | null;
|
|
32
|
+
flush(): Promise<void>;
|
|
33
|
+
};
|
|
34
|
+
export declare function getRandomValues<T extends ArrayBufferView>(array: T): T;
|
|
35
|
+
export declare function randomUUID(): `${string}-${string}-${string}-${string}-${string}`;
|
package/dist/portal.d.ts
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { type ReactNode } from "react";
|
|
2
|
+
import type { ViewStyle } from "./types";
|
|
3
|
+
export type PortalProviderProps = {
|
|
4
|
+
children?: ReactNode;
|
|
5
|
+
};
|
|
6
|
+
export type PortalHostProps = {
|
|
7
|
+
name?: string;
|
|
8
|
+
style?: ViewStyle;
|
|
9
|
+
children?: ReactNode;
|
|
10
|
+
};
|
|
11
|
+
export type PortalProps = {
|
|
12
|
+
hostName?: string;
|
|
13
|
+
name?: string;
|
|
14
|
+
style?: ViewStyle;
|
|
15
|
+
children?: ReactNode;
|
|
16
|
+
};
|
|
17
|
+
export declare function PortalProvider({ children }: PortalProviderProps): import("react").FunctionComponentElement<import("react").FragmentProps>;
|
|
18
|
+
export declare function PortalHost({ name, style, children }: PortalHostProps): import("react").ReactElement<{
|
|
19
|
+
name: string;
|
|
20
|
+
pointerEvents: string;
|
|
21
|
+
style: ViewStyle | (ViewStyle | undefined)[] | undefined;
|
|
22
|
+
}, string | import("react").JSXElementConstructor<any>>;
|
|
23
|
+
export declare function Portal({ children, hostName, name, style }: PortalProps): import("react").ReactElement<{
|
|
24
|
+
hostName: string;
|
|
25
|
+
name: string | undefined;
|
|
26
|
+
pointerEvents: string;
|
|
27
|
+
style: ViewStyle | undefined;
|
|
28
|
+
}, string | import("react").JSXElementConstructor<any>>;
|
|
29
|
+
export declare const NativePortal: typeof Portal;
|
|
30
|
+
export declare const NativePortalHost: typeof PortalHost;
|
|
31
|
+
export declare function usePortal(_hostName?: string): {
|
|
32
|
+
isHostAvailable: boolean;
|
|
33
|
+
removePortal(_name: string): void;
|
|
34
|
+
};
|
|
35
|
+
type TamaguiPortalAccessor = {
|
|
36
|
+
set: (state: {
|
|
37
|
+
enabled: boolean;
|
|
38
|
+
type: "teleport";
|
|
39
|
+
}) => void;
|
|
40
|
+
};
|
|
41
|
+
type TamaguiGetPortal = (() => TamaguiPortalAccessor) | TamaguiPortalAccessor | undefined;
|
|
42
|
+
export declare function setupTamaguiNativePortal(getPortal?: TamaguiGetPortal): void;
|
|
43
|
+
export {};
|
package/dist/raf.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
type StyleProps = Record<string, unknown>;
|
|
2
|
+
export declare function processColor(color: unknown): number | null;
|
|
3
|
+
export declare function processColorNumber(value: unknown): number | null;
|
|
4
|
+
export declare function processColorsInProps(props: StyleProps): void;
|
|
5
|
+
export declare function PlatformColor(...names: string[]): unknown;
|
|
6
|
+
export declare function DynamicColorIOS(tuple: {
|
|
7
|
+
light: unknown;
|
|
8
|
+
dark: unknown;
|
|
9
|
+
}): unknown;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export * from 'rngpui-reanimated-prebuilt';
|
|
2
|
+
export { default } from 'rngpui-reanimated-prebuilt';
|
|
3
|
+
type AnimationFactory = (...args: unknown[]) => unknown;
|
|
4
|
+
export declare const withTiming: AnimationFactory;
|
|
5
|
+
export declare const withSpring: AnimationFactory;
|
|
6
|
+
export declare const withDecay: AnimationFactory;
|
|
7
|
+
export declare const withDelay: AnimationFactory;
|
|
8
|
+
export declare const withRepeat: AnimationFactory;
|
|
9
|
+
export declare const withSequence: AnimationFactory;
|
|
10
|
+
export declare const withClamp: AnimationFactory;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
interface MeasuredDimensions {
|
|
2
|
+
x: number;
|
|
3
|
+
y: number;
|
|
4
|
+
width: number;
|
|
5
|
+
height: number;
|
|
6
|
+
pageX: number;
|
|
7
|
+
pageY: number;
|
|
8
|
+
}
|
|
9
|
+
interface StyleProps {
|
|
10
|
+
[key: string]: unknown;
|
|
11
|
+
}
|
|
12
|
+
interface SerializableLike {
|
|
13
|
+
__init?: () => unknown;
|
|
14
|
+
}
|
|
15
|
+
/** Register a viewTag → globalId mapping for an animated component's lifetime. */
|
|
16
|
+
export declare function registerAnimatedViewTag(viewTag: number, globalId: number): void;
|
|
17
|
+
export declare function unregisterAnimatedViewTag(viewTag: number): void;
|
|
18
|
+
declare function installReanimatedNativeSeam(): void;
|
|
19
|
+
declare const _default: {
|
|
20
|
+
installTurboModule(): boolean;
|
|
21
|
+
};
|
|
22
|
+
export default _default;
|
|
23
|
+
declare function scrollToImpl(animatedRef: unknown, x: number, y: number, _animated: boolean): void;
|
|
24
|
+
declare function measureImpl(animatedRef: unknown): MeasuredDimensions | null;
|
|
25
|
+
declare function setNativePropsImpl(animatedRef: unknown, updates: StyleProps): void;
|
|
26
|
+
declare function dispatchCommandImpl(): void;
|
|
27
|
+
declare function setGestureStateImpl(): void;
|
|
28
|
+
export declare const scrollTo: typeof scrollToImpl;
|
|
29
|
+
export declare const measure: typeof measureImpl;
|
|
30
|
+
export declare const setNativeProps: typeof setNativePropsImpl;
|
|
31
|
+
export declare const dispatchCommand: typeof dispatchCommandImpl;
|
|
32
|
+
export declare const setGestureState: typeof setGestureStateImpl;
|
|
33
|
+
export { installReanimatedNativeSeam };
|
|
34
|
+
export type { SerializableLike };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { WorkletChannel, WorkletRuntime, WorkletRuntimeRole } from './worklet-runtime';
|
|
2
|
+
export declare function makeChannel(role: WorkletRuntimeRole): WorkletChannel;
|
|
3
|
+
/**
|
|
4
|
+
* Install the inbound receiver so rust can deliver peer messages into this
|
|
5
|
+
* runtime. `__rngpui_peerRecv(json)` is the single entry point rust calls on the
|
|
6
|
+
* receiving runtime's queue; it decodes and hands the message to the runtime,
|
|
7
|
+
* console.erroring (rather than throwing into the rust caller) on a malformed
|
|
8
|
+
* payload.
|
|
9
|
+
*/
|
|
10
|
+
export declare function installChannel(_role: WorkletRuntimeRole, runtime: WorkletRuntime): void;
|