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").BcsType<{ name: string; }, { name: string; }>; export declare const PlanBCS: 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; }, { 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; }>; export declare const QueryResultBCS: import("@mysten/sui/bcs").BcsType<{ plans: { 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; }[]; cursor: string | null; has_nex_page: boolean; total: string; }, { plans: 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; }; cursor: string | number | bigint | null | undefined; has_nex_page: boolean; total: string | number | bigint; }>; export type PlanQueryFilter = { owner: string; cursor?: string; limit?: number; desc?: boolean; }; export type QueryResult = { plans: Plan[]; cursor?: string | null | undefined; hasNextPage: boolean; total: number; };