import type { WalletProviderAdapter, WalletProviderSendTxResult } from "./wallet-provider-adapter.js";
import type { ResolvedWalletRuntimeConfig } from "./wallet-runtime-config.js";
export type JupiterTriggerOrder = {
    id?: string;
    txSignature?: string;
    raw: Record<string, unknown>;
};
export type JupiterTriggerHistory = {
    orders: unknown[];
    pagination?: unknown;
    raw: Record<string, unknown>;
};
export declare function validateJupiterTriggerLimitOrderIntent(params: {
    config: ResolvedWalletRuntimeConfig;
    inputMint: string;
    outputMint: string;
    amount: string;
    triggerCondition: string;
    triggerPriceUsd: number;
    slippageBps?: number;
    autonomous?: boolean;
}): {
    ok: true;
} | {
    ok: false;
    code: string;
    message: string;
};
export declare function createJupiterTriggerLimitOrder(params: {
    provider: WalletProviderAdapter;
    walletId: string;
    walletAddress: string;
    config: ResolvedWalletRuntimeConfig;
    inputMint: string;
    outputMint: string;
    amount: string;
    triggerCondition: "above" | "below";
    triggerPriceUsd: number;
    triggerMint?: string;
    slippageBps?: number;
    expiresAt?: number;
    expirySeconds?: number;
    autonomous?: boolean;
    rpcUrl?: string;
    env?: NodeJS.ProcessEnv;
}): Promise<{
    ok: true;
    order: JupiterTriggerOrder;
    vault: Record<string, unknown>;
}>;
export declare function listJupiterTriggerOrders(params: {
    provider: WalletProviderAdapter;
    walletId: string;
    walletAddress: string;
    state?: "active" | "past";
    mint?: string;
    limit?: number;
    offset?: number;
    rpcUrl?: string;
    env?: NodeJS.ProcessEnv;
}): Promise<JupiterTriggerHistory>;
export declare function cancelJupiterTriggerOrder(params: {
    provider: WalletProviderAdapter;
    walletId: string;
    walletAddress: string;
    orderId: string;
    rpcUrl?: string;
    env?: NodeJS.ProcessEnv;
}): Promise<{
    ok: true;
    tx: WalletProviderSendTxResult;
    raw: Record<string, unknown>;
}>;
export declare function readJupiterTriggerPositiveNumber(value: unknown): number | undefined;
