import { type ABIMethod } from "@okcontract/coredata";
export type ExtraParameters = Record<string, unknown>;
/**
 * toLambdaExpr extracts additional parameters for a widget and convert to a lambdascript expresion.
 * @description This function is responsible for checking the security
 * and therefore is only accepting token and contract queries at the time.
 * @param input formatted like `tokenA:tok:weth,tokenB:tok:snx`
 * @param noCheck is used to disable params validation
 * @todo parameter only for specific step?
 */
export declare const toLambdaExpr: (input: string, noCheck?: boolean) => ExtraParameters;
/**
 * merge_xp merges external parameters with a method definition.
 * @description this function checks that the ABIMethod allows external parameters.
 * @param xm
 * @param xp
 * @returns updated method
 */
export declare const merge_xp: (xm: ABIMethod, xp: ExtraParameters) => ABIMethod;
