/** * Calls a custom function.
* Learn more: {@link https://cloudinary.com/documentation/custom_functions|Custom functions} * @memberOf Actions * @namespace CustomFunction * @example * import {Cloudinary} from "@cloudinary/url-gen"; * import {remote, wasm} from "@cloudinary/url-gen/actions/customFunction"; * * const yourCldInstance = new Cloudinary({cloud:{cloudName:'demo'}}); * const image = yourCldInstance.image('woman'); * image.customFunction( * remote('http://example.com') * ); * * image.customFunction( * wasm('myPublicID'); // publicID from Cloudinary * ); */ import CustomFunctionAction from "./customFunction/CustomFunctionAction.js"; import RemoteAction from "./customFunction/RemoteAction.js"; /** * @summary action * @description - Calls a custom function.
* For more information about remote custom functions see {@link https://cloudinary.com/documentation/custom_functions#remote_functions|the documentation} * @param {string} path - Specifies the URL of the remote custom function. * @memberOf Actions.CustomFunction * @return {Actions.CustomFunctionAction} */ declare function remote(path: string): RemoteAction; /** * @summary action * @description - Calls a custom function.
* For more information about wasm custom functions see {@link https://cloudinary.com/documentation/custom_functions#webassembly_functions|the documentation} * @param {string} publicID - Specifies the publicID of the custom function stored in Cloudinary * @memberOf Actions.CustomFunction * @return {Actions.CustomFunctionAction} */ declare function wasm(publicID: string): CustomFunctionAction; declare const CustomFunction: { remote: typeof remote; wasm: typeof wasm; }; export { CustomFunction, remote, wasm };