import type { IArcGISContext } from "../types/IArcGISContext";
interface IGroupReharvestInfo {
    /**
     * Catalog group being harvested
     */
    groupId: string;
    /**
     * Internal job id
     */
    jobId: string;
    /**
     * HTTP status code of the job
     */
    status: number;
}
interface IReharvestError {
    message: string;
    cause: string;
}
interface IReharvestInfo {
    groups?: IGroupReharvestInfo[];
    error?: IReharvestError;
}
/**
 * Trigger a manual update to reharvest each public item within a site's catalog.
 * This should only be used when search metadata has gotten out of sync despite
 * the nightly reharvest.
 *
 * @param siteId site's catalog to reharvest
 * @param context
 * @returns Job info for each group whose content is being harvested
 */
export declare function reharvestSiteCatalog(siteId: string, context: IArcGISContext): Promise<IReharvestInfo>;
export {};
