import { TransactionResult } from '@mysten/sui/transactions'; import { Plan } from './plan'; export type WithdrawResult = { withdrawn: TransactionResult; }; export type ExecutionPlanResult = { sourceCoin: { $kind: 'NestedResult'; NestedResult: [number, number]; }; receipt: { $kind: 'NestedResult'; NestedResult: [number, number]; }; }; export declare const TypeNameBCS: import("@mysten/sui/bcs").BcsStruct<{ name: import("@mysten/sui/bcs").BcsType; }, string>; export declare const PlanBCS: import("@mysten/sui/bcs").BcsStruct<{ plan_id: import("@mysten/sui/bcs").BcsType; subscription_amount: import("@mysten/sui/bcs").BcsType; subscription_interval: import("@mysten/sui/bcs").BcsType; next_execution_time: import("@mysten/sui/bcs").BcsType; execution_count: import("@mysten/sui/bcs").BcsType; execution_limit: import("@mysten/sui/bcs").BcsType; average_price: import("@mysten/sui/bcs").BcsType; total_purchased_amount: import("@mysten/sui/bcs").BcsType; creation_time: import("@mysten/sui/bcs").BcsType; owner: import("@mysten/sui/bcs").BcsType; receiver: import("@mysten/sui/bcs").BcsType; source_asset: import("@mysten/sui/bcs").BcsStruct<{ name: import("@mysten/sui/bcs").BcsType; }, string>; target_asset: import("@mysten/sui/bcs").BcsStruct<{ name: import("@mysten/sui/bcs").BcsType; }, string>; paused: import("@mysten/sui/bcs").BcsType; }, string>; export declare const QueryResultBCS: import("@mysten/sui/bcs").BcsStruct<{ plans: import("@mysten/sui/bcs").BcsType<{ plan_id: string; subscription_amount: string; subscription_interval: string; next_execution_time: string; execution_count: string; execution_limit: string; average_price: string; total_purchased_amount: string; creation_time: string; owner: string; receiver: string; source_asset: { name: string; }; target_asset: { name: string; }; paused: boolean; }[], Iterable<{ plan_id: string | number | bigint; subscription_amount: string | number | bigint; subscription_interval: string | number | bigint; next_execution_time: string | number | bigint; execution_count: string | number | bigint; execution_limit: string | number | bigint; average_price: string | number | bigint; total_purchased_amount: string | number | bigint; creation_time: string | number | bigint; owner: any; receiver: any; source_asset: { name: string; }; target_asset: { name: string; }; paused: boolean; }> & { length: number; }, string>; cursor: import("@mysten/sui/bcs").BcsType">; has_nex_page: import("@mysten/sui/bcs").BcsType; total: import("@mysten/sui/bcs").BcsType; }, string>; export type PlanQueryFilter = { owner: string; cursor?: string; limit?: number; desc?: boolean; }; export type QueryResult = { plans: Plan[]; cursor?: string | null | undefined; hasNextPage: boolean; total: number; };