import { IArcGISContext } from "../types/IArcGISContext"; /** * Thin wrapper around addItemResource to add a resource * to a portal item and provide Hub-specific error * handling. * * @param id - id of the item to add the resource to * @param name - name of the resource file * @param owner - owner of the item to add the resource to * @param context - contextual portal and auth information * @throws {HubError} if there is an error during the add process */ export declare function addResource(id: string, name: string, resource: unknown, context: IArcGISContext, opts?: { owner?: string; prefix?: string; }): Promise<{ success: boolean; }>;