@metamask/keyring-api
Version:
MetaMask Keyring API
21 lines • 773 B
text/typescript
import type { Infer } from "@metamask/superstruct";
export declare const MetaMaskOptionsStruct: import("@metamask/superstruct").Struct<{
metamask?: {
correlationId: string;
};
}, {
/**
* MetaMask internal options. The 'metamask' field will only be set when
* the keyring API is being used by a MetaMask client.
*/
metamask: import("@metamask/superstruct").Struct<import("@metamask/keyring-utils").ExactOptionalTag | {
correlationId: string;
}, {
/**
* Correlation ID that can be passed by MetaMask.
*/
correlationId: import("@metamask/superstruct").Struct<string, null>;
}>;
}>;
export type MetaMaskOptions = Infer<typeof MetaMaskOptionsStruct>;
//# sourceMappingURL=options.d.cts.map