import { BaseAsset, CustomPermissionGroup, KnownPermissionGroup, Procedure } from '../../internal'; import { Identity, SetPermissionGroupParams, TransactionPermissions } from '../../types'; import { ExtrinsicParams, ProcedureAuthorization, TransactionSpec } from '../../types/internal'; /** * @hidden */ export type Params = SetPermissionGroupParams & { identity: Identity; }; /** * @hidden */ export interface Storage { asset: BaseAsset; /** * the Permission Group the Agent will be moved into, or `null` if no existing Group matches the * passed permissions and one has to be created alongside the change */ existingGroup: KnownPermissionGroup | CustomPermissionGroup | null; /** * transactions to grant the Group that has to be created. Only set when `existingGroup` is `null` */ groupTransactions: TransactionPermissions | null; } /** * @hidden */ export declare function prepareSetPermissionGroup(this: Procedure, args: Params): Promise> | TransactionSpec>>; /** * @hidden */ export declare function getAuthorization(this: Procedure): ProcedureAuthorization; /** * @hidden */ export declare function prepareStorage(this: Procedure, { group }: Params): Promise; /** * @hidden */ export declare const setPermissionGroup: () => Procedure; //# sourceMappingURL=setPermissionGroup.d.ts.map