import type { DialogMethodHooks } from './dialog'; import type { GetBip32EntropyMethodHooks } from './getBip32Entropy'; import type { GetBip32PublicKeyMethodHooks } from './getBip32PublicKey'; import type { GetBip44EntropyMethodHooks } from './getBip44Entropy'; import type { GetEntropyHooks } from './getEntropy'; import type { GetLocaleMethodHooks } from './getLocale'; import type { InvokeSnapMethodHooks } from './invokeSnap'; import type { ManageAccountsMethodHooks } from './manageAccounts'; import type { ManageStateMethodHooks } from './manageState'; import type { NotifyMethodHooks } from './notify'; export type { DialogParameters } from './dialog'; export { DialogType } from './dialog'; export { ManageStateOperation } from './manageState'; export { WALLET_SNAP_PERMISSION_KEY } from './invokeSnap'; export type { NotificationArgs } from './notify'; export { NotificationType } from './notify'; export declare type RestrictedMethodHooks = DialogMethodHooks & GetBip32EntropyMethodHooks & GetBip32PublicKeyMethodHooks & GetBip44EntropyMethodHooks & GetEntropyHooks & InvokeSnapMethodHooks & ManageStateMethodHooks & NotifyMethodHooks & ManageAccountsMethodHooks & GetLocaleMethodHooks; export declare const restrictedMethodPermissionBuilders: { readonly snap_dialog: Readonly<{ readonly targetName: "snap_dialog"; readonly specificationBuilder: import("@metamask/permission-controller").PermissionSpecificationBuilder) => Promise; allowedCaveats: readonly [string, ...string[]] | null; }>; readonly methodHooks: import("../utils").MethodHooksObject; }>; readonly snap_getBip32Entropy: Readonly<{ readonly targetName: "snap_getBip32Entropy"; readonly specificationBuilder: import("@metamask/permission-controller").PermissionSpecificationBuilder) => Promise; allowedCaveats: readonly [string, ...string[]] | null; validator: import("@metamask/permission-controller").PermissionValidatorConstraint; }>; readonly methodHooks: import("../utils").MethodHooksObject; }>; readonly snap_getBip32PublicKey: Readonly<{ readonly targetName: "snap_getBip32PublicKey"; readonly specificationBuilder: import("@metamask/permission-controller").PermissionSpecificationBuilder) => Promise; allowedCaveats: readonly [string, ...string[]] | null; validator: import("@metamask/permission-controller").PermissionValidatorConstraint; }>; readonly methodHooks: import("../utils").MethodHooksObject; }>; readonly snap_getBip44Entropy: Readonly<{ readonly targetName: "snap_getBip44Entropy"; readonly specificationBuilder: import("@metamask/permission-controller").PermissionSpecificationBuilder) => Promise; allowedCaveats: readonly [string, ...string[]] | null; validator: import("@metamask/permission-controller").PermissionValidatorConstraint; }>; readonly methodHooks: import("../utils").MethodHooksObject; }>; readonly snap_getEntropy: Readonly<{ readonly targetName: "snap_getEntropy"; readonly specificationBuilder: import("@metamask/permission-controller").PermissionSpecificationBuilder) => Promise<`0x${string}`>; allowedCaveats: readonly [string, ...string[]] | null; }>; readonly methodHooks: import("../utils").MethodHooksObject; }>; readonly wallet_snap: Readonly<{ readonly targetName: "wallet_snap"; readonly specificationBuilder: import("@metamask/permission-controller").PermissionSpecificationBuilder>) => Promise; allowedCaveats: readonly [string, ...string[]] | null; validator: import("@metamask/permission-controller").PermissionValidatorConstraint; sideEffect: { onPermitted: import("@metamask/permission-controller").SideEffectHandler; }; }>; readonly methodHooks: import("../utils").MethodHooksObject; }>; readonly snap_manageState: Readonly<{ readonly targetName: "snap_manageState"; readonly specificationBuilder: import("@metamask/permission-controller").PermissionSpecificationBuilder) => Promise | null>; allowedCaveats: readonly [string, ...string[]] | null; }>; readonly methodHooks: import("../utils").MethodHooksObject; }>; readonly snap_notify: Readonly<{ readonly targetName: "snap_notify"; readonly specificationBuilder: import("@metamask/permission-controller").PermissionSpecificationBuilder) => Promise; allowedCaveats: readonly [string, ...string[]] | null; }>; readonly methodHooks: import("../utils").MethodHooksObject; }>; readonly snap_manageAccounts: Readonly<{ readonly targetName: "snap_manageAccounts"; readonly specificationBuilder: import("@metamask/permission-controller").PermissionSpecificationBuilder | import("@metamask/utils").Json[]; method: string; }>) => Promise; allowedCaveats: readonly [string, ...string[]] | null; }>; readonly methodHooks: { readonly getSnapKeyring: true; }; }>; readonly snap_getLocale: Readonly<{ readonly targetName: "snap_getLocale"; readonly specificationBuilder: import("@metamask/permission-controller").PermissionSpecificationBuilder) => Promise; allowedCaveats: readonly [string, ...string[]] | null; }>; readonly methodHooks: import("../utils").MethodHooksObject; }>; }; export * from './caveats';