import BN from "bn.js"; import * as types from "../types"; import * as borsh from "@project-serum/borsh"; export declare type SwapFields = { fields: types.SwapInfoFields; }; export declare type SwapValue = { fields: types.SwapInfo; }; export interface SwapJSON { kind: "Swap"; value: { fields: types.SwapInfoJSON; }; } export declare class Swap { readonly discriminator = 0; readonly kind = "Swap"; readonly value: SwapValue; constructor(value: SwapFields); toJSON(): SwapJSON; toEncodable(): { Swap: { fields: { minAmtOut: BN; }; }; }; } export interface AbortJSON { kind: "Abort"; } export declare class Abort { readonly discriminator = 1; readonly kind = "Abort"; toJSON(): AbortJSON; toEncodable(): { Abort: {}; }; } export declare function fromDecoded(obj: any): types.RaydiumOpCodeKind; export declare function fromJSON(obj: types.RaydiumOpCodeJSON): types.RaydiumOpCodeKind; export declare function layout(property?: string): borsh.EnumLayout;