import { BeaconMessage, PermissionEntity } from '@tezos-x/octez.connect-types'; /** * @internalapi * * The PermissionValidator is used to check if permissions for a certain message type have been given */ export declare class PermissionValidator { /** * Check if permissions were given for a certain message type. * * PermissionRequest and BroadcastRequest will always return true. * * @param message octez.connect message */ static hasPermission(message: BeaconMessage, getOne: (id: string) => Promise, getAll: () => Promise): Promise; }