import type { IUserRequestOptions } from "@esri/arcgis-rest-request";
import type { IItem } from "@esri/arcgis-rest-portal";
/**
 * Checks if a server's services directory is disabled. Consider hoisting this to RESTJS
 * @param idOrItem A feature service ID or item
 * @param requestOptions Request options
 * @returns Promise that resolves boolean
 */
export declare const isServicesDirectoryDisabled: (idOrItem: string | IItem, requestOptions: IUserRequestOptions) => Promise<boolean>;
