import { Address, SOLANA_ERROR__INSTRUCTION_ERROR__CUSTOM, SolanaError } from '@solana/kit';
export declare const WAVEBREAK_ERROR__INVALID_ACCOUNT_ROLE = 6000;
export declare const WAVEBREAK_ERROR__INCORRECT_ACCOUNT_ADDRESS = 6001;
export declare const WAVEBREAK_ERROR__PERMISSION_ACTIVE = 6002;
export declare const WAVEBREAK_ERROR__PERMISSION_EXPIRED = 6003;
export declare const WAVEBREAK_ERROR__PERMISSION_INVALID_SIGNATURE = 6004;
export declare const WAVEBREAK_ERROR__WHIRLPOOL_ERROR = 6005;
export declare const WAVEBREAK_ERROR__UNKNOWN_INSTRUCTION_DISCRIMINATOR = 6006;
export declare const WAVEBREAK_ERROR__INCORRECT_PROGRAM_ID = 6007;
export declare const WAVEBREAK_ERROR__NOT_ENOUGH_ACCOUNT_KEYS = 6008;
export declare const WAVEBREAK_ERROR__ARITHMETIC_ERROR = 6009;
export declare const WAVEBREAK_ERROR__QUOTE_ERROR = 6010;
export declare const WAVEBREAK_ERROR__SLIPPAGE_EXCEEDED = 6011;
export declare const WAVEBREAK_ERROR__PRICE_ERROR = 6012;
export declare const WAVEBREAK_ERROR__GRADUATION_CONDITIONS_NOT_MET = 6013;
export declare const WAVEBREAK_ERROR__WHIRLPOOL_ALREADY_EXISTS = 6014;
export declare const WAVEBREAK_ERROR__INCORRECT_GRADUATION_INSTRUCTION = 6015;
export declare const WAVEBREAK_ERROR__BONDING_CURVE_NOT_EXPIRED = 6016;
export declare const WAVEBREAK_ERROR__INSUFFICIENT_TOKENS_FOR_GRADUATION = 6017;
export declare const WAVEBREAK_ERROR__MISSING_PERMISSION_CONSUME_INSTRUCTION = 6018;
export declare const WAVEBREAK_ERROR__BONDING_CURVE_NOT_ACTIVE = 6019;
export declare const WAVEBREAK_ERROR__INVALID_PRICE_CURVE = 6020;
export declare const WAVEBREAK_ERROR__GRADUATION_METHOD_NOT_CALLED = 6021;
export declare const WAVEBREAK_ERROR__INVALID_ACCOUNT_DATA = 6022;
export declare const WAVEBREAK_ERROR__INVALID_SEEDS = 6023;
export declare const WAVEBREAK_ERROR__INCORRECT_OWNER = 6024;
export declare const WAVEBREAK_ERROR__INVALID_INSTRUCTION_DATA = 6025;
export declare const WAVEBREAK_ERROR__MISSING_PRIVILEGES = 6027;
export declare const WAVEBREAK_ERROR__NO_MORE_AUTHORITY_SLOTS = 6028;
export declare const WAVEBREAK_ERROR__EMIT_EVENT_ERROR = 6029;
export type WavebreakError = typeof WAVEBREAK_ERROR__ARITHMETIC_ERROR | typeof WAVEBREAK_ERROR__BONDING_CURVE_NOT_ACTIVE | typeof WAVEBREAK_ERROR__BONDING_CURVE_NOT_EXPIRED | typeof WAVEBREAK_ERROR__EMIT_EVENT_ERROR | typeof WAVEBREAK_ERROR__GRADUATION_CONDITIONS_NOT_MET | typeof WAVEBREAK_ERROR__GRADUATION_METHOD_NOT_CALLED | typeof WAVEBREAK_ERROR__INCORRECT_ACCOUNT_ADDRESS | typeof WAVEBREAK_ERROR__INCORRECT_GRADUATION_INSTRUCTION | typeof WAVEBREAK_ERROR__INCORRECT_OWNER | typeof WAVEBREAK_ERROR__INCORRECT_PROGRAM_ID | typeof WAVEBREAK_ERROR__INSUFFICIENT_TOKENS_FOR_GRADUATION | typeof WAVEBREAK_ERROR__INVALID_ACCOUNT_DATA | typeof WAVEBREAK_ERROR__INVALID_ACCOUNT_ROLE | typeof WAVEBREAK_ERROR__INVALID_INSTRUCTION_DATA | typeof WAVEBREAK_ERROR__INVALID_PRICE_CURVE | typeof WAVEBREAK_ERROR__INVALID_SEEDS | typeof WAVEBREAK_ERROR__MISSING_PERMISSION_CONSUME_INSTRUCTION | typeof WAVEBREAK_ERROR__MISSING_PRIVILEGES | typeof WAVEBREAK_ERROR__NO_MORE_AUTHORITY_SLOTS | typeof WAVEBREAK_ERROR__NOT_ENOUGH_ACCOUNT_KEYS | typeof WAVEBREAK_ERROR__PERMISSION_ACTIVE | typeof WAVEBREAK_ERROR__PERMISSION_EXPIRED | typeof WAVEBREAK_ERROR__PERMISSION_INVALID_SIGNATURE | typeof WAVEBREAK_ERROR__PRICE_ERROR | typeof WAVEBREAK_ERROR__QUOTE_ERROR | typeof WAVEBREAK_ERROR__SLIPPAGE_EXCEEDED | typeof WAVEBREAK_ERROR__UNKNOWN_INSTRUCTION_DISCRIMINATOR | typeof WAVEBREAK_ERROR__WHIRLPOOL_ALREADY_EXISTS | typeof WAVEBREAK_ERROR__WHIRLPOOL_ERROR;
export declare function getWavebreakErrorMessage(code: WavebreakError): string;
export declare function isWavebreakError<TProgramErrorCode extends WavebreakError>(error: unknown, transactionMessage: {
    instructions: Record<number, {
        programAddress: Address;
    }>;
}, code?: TProgramErrorCode): error is SolanaError<typeof SOLANA_ERROR__INSTRUCTION_ERROR__CUSTOM> & Readonly<{
    context: Readonly<{
        code: TProgramErrorCode;
    }>;
}>;
