@metamask/ocap-kernel
Version:
OCap kernel core components
16 lines • 444 B
text/typescript
type RefParts = {
context: 'kernel' | 'vat' | 'remote';
direction?: 'export' | 'import';
isPromise: boolean;
index: string;
};
/**
* Parse an alleged ref string into its components.
*
* @param ref - The string to be parsed.
*
* @returns an object with all of the ref string components as individual properties.
*/
export declare function parseRef(ref: string): RefParts;
export {};
//# sourceMappingURL=parse-ref.d.cts.map