import _m0 from "protobufjs/minimal"; import { AccountID, TokenID } from "./basic_types"; export declare const protobufPackage = "proto"; /** * Grants KYC to the account for the given token. Must be signed by the Token's kycKey. * If the provided account is not found, the transaction will resolve to INVALID_ACCOUNT_ID. * If the provided account has been deleted, the transaction will resolve to ACCOUNT_DELETED. * If the provided token is not found, the transaction will resolve to INVALID_TOKEN_ID. * If the provided token has been deleted, the transaction will resolve to TOKEN_WAS_DELETED. * If an Association between the provided token and account is not found, the transaction will * resolve to TOKEN_NOT_ASSOCIATED_TO_ACCOUNT. * If no KYC Key is defined, the transaction will resolve to TOKEN_HAS_NO_KYC_KEY. * Once executed the Account is marked as KYC Granted. */ export interface TokenGrantKycTransactionBody { /** * The token for which this account will be granted KYC. If token does not exist, transaction * results in INVALID_TOKEN_ID */ token: TokenID | undefined; /** The account to be KYCed */ account: AccountID | undefined; } export declare const TokenGrantKycTransactionBody: { encode(message: TokenGrantKycTransactionBody, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): TokenGrantKycTransactionBody; fromJSON(object: any): TokenGrantKycTransactionBody; toJSON(message: TokenGrantKycTransactionBody): unknown; create(base?: DeepPartial): TokenGrantKycTransactionBody; fromPartial(object: DeepPartial): TokenGrantKycTransactionBody; }; type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined; export type DeepPartial = T extends Builtin ? T : T extends Array ? Array> : T extends ReadonlyArray ? ReadonlyArray> : T extends { $case: string; } ? { [K in keyof Omit]?: DeepPartial; } & { $case: T["$case"]; } : T extends {} ? { [K in keyof T]?: DeepPartial; } : Partial; export {}; //# sourceMappingURL=token_grant_kyc.d.ts.map