UNPKG

@metamask/snaps-sdk

Version:

A library containing the core functionality for building MetaMask Snaps

11 lines 378 B
import type { Struct } from "@metamask/superstruct"; export type UriOptions<Type extends string> = { protocol?: Struct<Type>; hash?: Struct<Type>; port?: Struct<Type>; hostname?: Struct<Type>; pathname?: Struct<Type>; search?: Struct<Type>; }; export declare const uri: (opts?: UriOptions<any>) => Struct<string, null>; //# sourceMappingURL=uri.d.cts.map