/**
 * 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 Address, type SOLANA_ERROR__INSTRUCTION_ERROR__CUSTOM, type SolanaError } from '@solana/kit';
/** InvalidQuoteTimestamp: Invalid quote timestamp! */
export declare const SVM_SPOKE_ERROR__INVALID_QUOTE_TIMESTAMP = 6000;
/** InvalidFillDeadline: Invalid fill deadline! */
export declare const SVM_SPOKE_ERROR__INVALID_FILL_DEADLINE = 6001;
/** NotExclusiveRelayer: Caller is not the exclusive relayer and exclusivity deadline has not passed! */
export declare const SVM_SPOKE_ERROR__NOT_EXCLUSIVE_RELAYER = 6002;
/** NoSlowFillsInExclusivityWindow: The Deposit is still within the exclusivity window! */
export declare const SVM_SPOKE_ERROR__NO_SLOW_FILLS_IN_EXCLUSIVITY_WINDOW = 6003;
/** RelayFilled: The relay has already been filled! */
export declare const SVM_SPOKE_ERROR__RELAY_FILLED = 6004;
/** InvalidSlowFillRequest: Slow fill requires status of Unfilled! */
export declare const SVM_SPOKE_ERROR__INVALID_SLOW_FILL_REQUEST = 6005;
/** ExpiredFillDeadline: The fill deadline has passed! */
export declare const SVM_SPOKE_ERROR__EXPIRED_FILL_DEADLINE = 6006;
/** InvalidMerkleProof: Invalid Merkle proof! */
export declare const SVM_SPOKE_ERROR__INVALID_MERKLE_PROOF = 6007;
/** InvalidChainId: Invalid chain id! */
export declare const SVM_SPOKE_ERROR__INVALID_CHAIN_ID = 6008;
/** InvalidMerkleLeaf: Invalid Merkle leaf! */
export declare const SVM_SPOKE_ERROR__INVALID_MERKLE_LEAF = 6009;
/** ClaimedMerkleLeaf: Leaf already claimed! */
export declare const SVM_SPOKE_ERROR__CLAIMED_MERKLE_LEAF = 6010;
/** DepositsArePaused: Deposits are currently paused! */
export declare const SVM_SPOKE_ERROR__DEPOSITS_ARE_PAUSED = 6011;
/** FillsArePaused: Fills are currently paused! */
export declare const SVM_SPOKE_ERROR__FILLS_ARE_PAUSED = 6012;
/** InsufficientSpokePoolBalanceToExecuteLeaf: Insufficient spoke pool balance to execute leaf */
export declare const SVM_SPOKE_ERROR__INSUFFICIENT_SPOKE_POOL_BALANCE_TO_EXECUTE_LEAF = 6013;
/** InvalidExclusiveRelayer: Invalid exclusive relayer! */
export declare const SVM_SPOKE_ERROR__INVALID_EXCLUSIVE_RELAYER = 6014;
/** InvalidOutputToken: Invalid output token! */
export declare const SVM_SPOKE_ERROR__INVALID_OUTPUT_TOKEN = 6015;
export type SvmSpokeError = typeof SVM_SPOKE_ERROR__CLAIMED_MERKLE_LEAF | typeof SVM_SPOKE_ERROR__DEPOSITS_ARE_PAUSED | typeof SVM_SPOKE_ERROR__EXPIRED_FILL_DEADLINE | typeof SVM_SPOKE_ERROR__FILLS_ARE_PAUSED | typeof SVM_SPOKE_ERROR__INSUFFICIENT_SPOKE_POOL_BALANCE_TO_EXECUTE_LEAF | typeof SVM_SPOKE_ERROR__INVALID_CHAIN_ID | typeof SVM_SPOKE_ERROR__INVALID_EXCLUSIVE_RELAYER | typeof SVM_SPOKE_ERROR__INVALID_FILL_DEADLINE | typeof SVM_SPOKE_ERROR__INVALID_MERKLE_LEAF | typeof SVM_SPOKE_ERROR__INVALID_MERKLE_PROOF | typeof SVM_SPOKE_ERROR__INVALID_OUTPUT_TOKEN | typeof SVM_SPOKE_ERROR__INVALID_QUOTE_TIMESTAMP | typeof SVM_SPOKE_ERROR__INVALID_SLOW_FILL_REQUEST | typeof SVM_SPOKE_ERROR__NO_SLOW_FILLS_IN_EXCLUSIVITY_WINDOW | typeof SVM_SPOKE_ERROR__NOT_EXCLUSIVE_RELAYER | typeof SVM_SPOKE_ERROR__RELAY_FILLED;
export declare function getSvmSpokeErrorMessage(code: SvmSpokeError): string;
export declare function isSvmSpokeError<TProgramErrorCode extends SvmSpokeError>(error: unknown, transactionMessage: {
    instructions: Record<number, {
        programAddress: Address;
    }>;
}, code?: TProgramErrorCode): error is SolanaError<typeof SOLANA_ERROR__INSTRUCTION_ERROR__CUSTOM> & Readonly<{
    context: Readonly<{
        code: TProgramErrorCode;
    }>;
}>;
