/** * 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 { type AccountMeta, type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyUint8Array, type WritableAccount } from '@solana/kit'; import { TOKEN_2022_PROGRAM_ADDRESS } from '../programs'; export declare const SYNC_NATIVE_DISCRIMINATOR = 17; export declare function getSyncNativeDiscriminatorBytes(): ReadonlyUint8Array; export type SyncNativeInstruction = string, TRemainingAccounts extends readonly AccountMeta[] = []> = Instruction & InstructionWithData & InstructionWithAccounts<[ TAccountAccount extends string ? WritableAccount : TAccountAccount, ...TRemainingAccounts ]>; export type SyncNativeInstructionData = { discriminator: number; }; export type SyncNativeInstructionDataArgs = {}; export declare function getSyncNativeInstructionDataEncoder(): FixedSizeEncoder; export declare function getSyncNativeInstructionDataDecoder(): FixedSizeDecoder; export declare function getSyncNativeInstructionDataCodec(): FixedSizeCodec; export type SyncNativeInput = { /** The native token account to sync with its underlying lamports. */ account: Address; }; export declare function getSyncNativeInstruction(input: SyncNativeInput, config?: { programAddress?: TProgramAddress; }): SyncNativeInstruction; export type ParsedSyncNativeInstruction = { programAddress: Address; accounts: { /** The native token account to sync with its underlying lamports. */ account: TAccountMetas[0]; }; data: SyncNativeInstructionData; }; export declare function parseSyncNativeInstruction(instruction: Instruction & InstructionWithAccounts & InstructionWithData): ParsedSyncNativeInstruction; //# sourceMappingURL=syncNative.d.ts.map