import type { ActionParamsMap, ActionType, CreateActionResponse } from '@lifi/perps-types'; import type { Address } from 'viem'; import type { SDKRequestOptions } from '../types/config.js'; import type { PerpsSDKClient } from '../types/provider.js'; /** * Parameters for {@link createAction}. * * @public */ export interface CreateActionParams { provider: string; address: Address; signerAddress?: Address; action: T; params: ActionParamsMap[T]; } /** * Request the backend to build the unsigned `ActionStep`s for an action. The * returned steps are signed client-side and submitted via * {@link executeAction}. * * @throws {PerpsError} On backend error responses, network, or parsing errors. * @public */ export declare function createAction(client: PerpsSDKClient, params: CreateActionParams, options?: SDKRequestOptions): Promise; //# sourceMappingURL=createAction.d.ts.map