/** * This code was AUTOGENERATED using the codama library. * Please DO NOT EDIT THIS FILE, instead use visitors * to add features, then rerun codama to update it. * * @see https://github.com/codama-idl/codama */ import { Context, Pda, PublicKey, Signer, TransactionBuilder } from '@metaplex-foundation/umi'; import { Serializer } from '@metaplex-foundation/umi/serializers'; import { GrantRoleArgs, GrantRoleArgsArgs } from '../types'; export type GrantRoleInstructionAccounts = { owner: Signer; config: PublicKey | Pda; accountToGrant: PublicKey | Pda; capability: PublicKey | Pda; systemProgram?: PublicKey | Pda; eventAuthority?: PublicKey | Pda; program: PublicKey | Pda; }; export type GrantRoleInstructionData = { discriminator: Uint8Array; args: GrantRoleArgs; }; export type GrantRoleInstructionDataArgs = { args: GrantRoleArgsArgs; }; export declare function getGrantRoleInstructionDataSerializer(): Serializer; export type GrantRoleInstructionArgs = GrantRoleInstructionDataArgs; export declare function grantRole(context: Pick, input: GrantRoleInstructionAccounts & GrantRoleInstructionArgs): TransactionBuilder; //# sourceMappingURL=grantRole.d.ts.map