/**
 * 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 AccountSignerMeta, type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyAccount, type ReadonlySignerAccount, type ReadonlyUint8Array, type TransactionSigner, type WritableAccount } from '@solana/kit';
import { WHIRLPOOL_PROGRAM_ADDRESS } from '../programs';
export declare const COLLECT_FEES_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
export declare function getCollectFeesDiscriminatorBytes(): ReadonlyUint8Array;
export type CollectFeesInstruction<TProgram extends string = typeof WHIRLPOOL_PROGRAM_ADDRESS, TAccountWhirlpool extends string | AccountMeta<string> = string, TAccountPositionAuthority extends string | AccountMeta<string> = string, TAccountPosition extends string | AccountMeta<string> = string, TAccountPositionTokenAccount extends string | AccountMeta<string> = string, TAccountTokenOwnerAccountA extends string | AccountMeta<string> = string, TAccountTokenVaultA extends string | AccountMeta<string> = string, TAccountTokenOwnerAccountB extends string | AccountMeta<string> = string, TAccountTokenVaultB extends string | AccountMeta<string> = string, TAccountTokenProgram extends string | AccountMeta<string> = "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA", TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[TAccountWhirlpool extends string ? ReadonlyAccount<TAccountWhirlpool> : TAccountWhirlpool, TAccountPositionAuthority extends string ? ReadonlySignerAccount<TAccountPositionAuthority> & AccountSignerMeta<TAccountPositionAuthority> : TAccountPositionAuthority, TAccountPosition extends string ? WritableAccount<TAccountPosition> : TAccountPosition, TAccountPositionTokenAccount extends string ? ReadonlyAccount<TAccountPositionTokenAccount> : TAccountPositionTokenAccount, TAccountTokenOwnerAccountA extends string ? WritableAccount<TAccountTokenOwnerAccountA> : TAccountTokenOwnerAccountA, TAccountTokenVaultA extends string ? WritableAccount<TAccountTokenVaultA> : TAccountTokenVaultA, TAccountTokenOwnerAccountB extends string ? WritableAccount<TAccountTokenOwnerAccountB> : TAccountTokenOwnerAccountB, TAccountTokenVaultB extends string ? WritableAccount<TAccountTokenVaultB> : TAccountTokenVaultB, TAccountTokenProgram extends string ? ReadonlyAccount<TAccountTokenProgram> : TAccountTokenProgram, ...TRemainingAccounts]>;
export type CollectFeesInstructionData = {
    discriminator: ReadonlyUint8Array;
};
export type CollectFeesInstructionDataArgs = {};
export declare function getCollectFeesInstructionDataEncoder(): FixedSizeEncoder<CollectFeesInstructionDataArgs>;
export declare function getCollectFeesInstructionDataDecoder(): FixedSizeDecoder<CollectFeesInstructionData>;
export declare function getCollectFeesInstructionDataCodec(): FixedSizeCodec<CollectFeesInstructionDataArgs, CollectFeesInstructionData>;
export type CollectFeesInput<TAccountWhirlpool extends string = string, TAccountPositionAuthority extends string = string, TAccountPosition extends string = string, TAccountPositionTokenAccount extends string = string, TAccountTokenOwnerAccountA extends string = string, TAccountTokenVaultA extends string = string, TAccountTokenOwnerAccountB extends string = string, TAccountTokenVaultB extends string = string, TAccountTokenProgram extends string = string> = {
    whirlpool: Address<TAccountWhirlpool>;
    positionAuthority: TransactionSigner<TAccountPositionAuthority>;
    position: Address<TAccountPosition>;
    positionTokenAccount: Address<TAccountPositionTokenAccount>;
    tokenOwnerAccountA: Address<TAccountTokenOwnerAccountA>;
    tokenVaultA: Address<TAccountTokenVaultA>;
    tokenOwnerAccountB: Address<TAccountTokenOwnerAccountB>;
    tokenVaultB: Address<TAccountTokenVaultB>;
    tokenProgram?: Address<TAccountTokenProgram>;
};
export declare function getCollectFeesInstruction<TAccountWhirlpool extends string, TAccountPositionAuthority extends string, TAccountPosition extends string, TAccountPositionTokenAccount extends string, TAccountTokenOwnerAccountA extends string, TAccountTokenVaultA extends string, TAccountTokenOwnerAccountB extends string, TAccountTokenVaultB extends string, TAccountTokenProgram extends string, TProgramAddress extends Address = typeof WHIRLPOOL_PROGRAM_ADDRESS>(input: CollectFeesInput<TAccountWhirlpool, TAccountPositionAuthority, TAccountPosition, TAccountPositionTokenAccount, TAccountTokenOwnerAccountA, TAccountTokenVaultA, TAccountTokenOwnerAccountB, TAccountTokenVaultB, TAccountTokenProgram>, config?: {
    programAddress?: TProgramAddress;
}): CollectFeesInstruction<TProgramAddress, TAccountWhirlpool, TAccountPositionAuthority, TAccountPosition, TAccountPositionTokenAccount, TAccountTokenOwnerAccountA, TAccountTokenVaultA, TAccountTokenOwnerAccountB, TAccountTokenVaultB, TAccountTokenProgram>;
export type ParsedCollectFeesInstruction<TProgram extends string = typeof WHIRLPOOL_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
    programAddress: Address<TProgram>;
    accounts: {
        whirlpool: TAccountMetas[0];
        positionAuthority: TAccountMetas[1];
        position: TAccountMetas[2];
        positionTokenAccount: TAccountMetas[3];
        tokenOwnerAccountA: TAccountMetas[4];
        tokenVaultA: TAccountMetas[5];
        tokenOwnerAccountB: TAccountMetas[6];
        tokenVaultB: TAccountMetas[7];
        tokenProgram: TAccountMetas[8];
    };
    data: CollectFeesInstructionData;
};
export declare function parseCollectFeesInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedCollectFeesInstruction<TProgram, TAccountMetas>;
//# sourceMappingURL=collectFees.d.ts.map