import { ExecuteJsResponse } from '@lit-protocol/types'; import { LitActionType, LitActionTypeCommon } from './types'; import { Network } from '../types'; /** * * Post processes the Lit Action result to ensure that the result is non-empty and a valid string * * @param result - The Lit Action result to be processes * * @returns { string } - The response field in the Lit Action result object */ export declare function postLitActionValidation(result: ExecuteJsResponse | undefined): string; export declare function getLitActionCid(network: Network, actionType: LitActionType): string; export declare function getLitActionCode(network: Network, actionType: LitActionType): string; /** * Fetch the Lit action code or its IPFS CID for a given network and action type. * @private * * @param {Network} network The network to get the code or CID for. * @param {LitActionType} actionType The type of action to get the code or CID for. * @returns {{ litActionCode?: string, litActionIpfsCid?: string }} The Lit action code or its IPFS CID. */ export declare function getLitActionCodeOrCid(network: Network, actionType: LitActionType): { litActionCode?: string; litActionIpfsCid?: string; }; /** * Fetch the Lit action code or its IPFS CID for a given network and action type. * @private * @param {LitActionTypeCommon} actionType The type of action to get the code or CID for. * @returns {{ litActionCode?: string, litActionIpfsCid?: string }} The Lit action code or its IPFS CID. */ export declare function getLitActionCodeOrCidCommon(actionType: LitActionTypeCommon): { litActionCode?: string; litActionIpfsCid?: string; }; export declare function getLitActionCidCommon(actionType: LitActionTypeCommon): string; export declare function getLitActionCodeCommon(actionType: LitActionTypeCommon): string;