import { IRequestOptions, IAuthenticationManager } from "@esri/arcgis-rest-request"; export interface IGenerateApiKeyTokenOptions extends IRequestOptions { itemId: string; apiKey: 1 | 2; portal?: string; authentication: IAuthenticationManager; } export declare function generateApiKeyToken(options: IGenerateApiKeyTokenOptions): Promise<{ access_token: string; expires_in: number; }>;