mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 01:47:00 +01:00
18 lines
401 B
TypeScript
18 lines
401 B
TypeScript
declare module '@metamask/eth-keyring-controller' {
|
|
export class KeyringController {
|
|
signMessage: (...any) => any;
|
|
|
|
signPersonalMessage: (...any) => any;
|
|
|
|
signTypedMessage: (...any) => any;
|
|
|
|
getKeyringForAccount: (address: string) => Promise<{
|
|
type: string;
|
|
}>;
|
|
|
|
getEncryptionPublicKey: (address: string) => Promise<string>;
|
|
|
|
decryptMessage: (...any) => any;
|
|
}
|
|
}
|