import { Auth } from "../methods/auth.js"; /** * @internal * Fetches data from the PCM. * * @param url The url for the request. * @param auth The authorisation information. * @returns The response. */ export declare const fetchPcmData: (url: string, auth?: Auth) => Promise; /** * Checks that the given access token is not undefined. */ export declare function checkAccessToken(accessToken?: string): asserts accessToken is string; /** * Get a list with all PCM items of the given type. * * @param type The item type, used in the url. * @returns A list with the native PCM items. */ export declare function _getPcmItems(type: string, auth?: Auth, baseUrl?: string, ignoreCache?: boolean): Promise; /** @internal */ export declare function _invalidateCache(type: string, uuid?: string, auth?: Auth, baseUrl?: string): void; /** * Wipes the whole local PCM item cache. */ export declare function clearCache(): void; /** * Gets a native PCM item by its id. * * @param type The item type, used in the url. * @returns The native PCM item with the given id. */ export declare function _getPcmItem(type: string, id: string, auth?: Auth, baseUrl?: string, ignoreCache?: boolean): Promise;