import { GeoprocessingTask } from "../aws/tasks.js"; import { GeoprocessingRequestParams } from "../types/index.js"; interface FunctionState { /** Populated as soon as the function request returns */ task?: GeoprocessingTask; loading: boolean; error?: string; } /** * Runs the given geoprocessing function for the current sketch, as defined by ReportContext * During testing, useFunction will look for example output values in SketchContext.exampleOutputs */ export declare const useFunction: { (functionTitle: string, extraParams?: GeoprocessingRequestParams): FunctionState; reset(): void; }; export {};