import type { InvokerPermission, PermissionRequest, RequestedPermission, XyoPermissions } from '@xyo-network/xl1-protocol/protocol-lib';
import type { RpcTransport } from '../../transport/index.js';
import type { XyoPermissionsRpcSchemas } from '../../types/index.js';
/** RpcXyoPermissions implementation. */
export declare class RpcXyoPermissions implements XyoPermissions {
    protected readonly transport: RpcTransport<typeof XyoPermissionsRpcSchemas>;
    /** Creates an instance with the supplied configuration. */
    constructor(transport: RpcTransport<typeof XyoPermissionsRpcSchemas>);
    /** Returns permissions. */
    getPermissions(): Promise<InvokerPermission[]>;
    /** Requests permissions from the provider. */
    requestPermissions(permissions: PermissionRequest[]): Promise<RequestedPermission[]>;
    /** Removes data through the revoke permissions operation. */
    revokePermissions(_permissions: PermissionRequest): Promise<RequestedPermission[]>;
}
//# sourceMappingURL=RpcXyoPermissions.d.ts.map