import { get } from '../api/apiCore'; export * from './postTaskAndWaitResult'; /** * Fetches the current user from the API and checks if the user is logged in. * If the authorization token is expired, it will attempt to refresh the token and retry the request. * If the refresh fails, it will throw the original exception. */ export declare function getCurrentUser(): Promise; export declare function getWellViewBha(options?: {}): Promise; export declare function getWells(options?: {}, getterFn?: typeof get): Promise; export declare function getWell(id: any, options?: {}): Promise; export declare function getRig(id: any, options?: {}): Promise; export declare function patchRig(id: any, data: any, fields?: any[]): Promise; export declare function getRigs(options?: {}, getterFn?: typeof get): Promise; export declare function getPrograms(options?: {}, getterFn?: typeof get): Promise; export declare function getInterventionUnits(options?: {}, getterFn?: typeof get): Promise; export declare function getInterventionUnit(interventionUnitId: any, options?: {}, getterFn?: typeof get): Promise; export declare function getInterventionUnitEvents(options?: {}): Promise; export declare function getAsset(id: any, options?: {}): Promise; export declare function getAssets(options?: {}, getterFn?: typeof get): Promise; export declare function getResolvedAssets(options?: {}): Promise; export declare function getPads(options?: {}, getterFn?: typeof get): Promise; export declare function getPad(id: any, options?: {}, getterFn?: typeof get): Promise; export declare function getFracFleet(id: any, options?: {}, getterFn?: typeof get): Promise; export declare function getFracFleets(options?: {}, getterFn?: typeof get): Promise; export declare function getDrilloutUnit(drilloutUnitId: any, options?: {}): Promise; export declare function getDrilloutUnits(options?: {}, getterFn?: typeof get): Promise; /** * @deprecated * @param provider * @param collection * @param queryParams * @returns {Promise<*>} */ export declare function deleteAppStorageRecords(provider: any, collection: any, queryParams: any): Promise; /** * @deprecated * @param provider * @param collection * @param id * @returns {Promise<*>} */ export declare function deleteAppStorage(provider: any, collection: any, id: any): Promise; /** * @deprecated * @param provider * @param collection * @param assetId * @param params * @returns {Promise<*>} */ export declare function getAppStorage(provider: any, collection: any, assetId: any, params?: {}): Promise; export declare function getDataAppStorage(provider: any, collection: any, params?: {}): Promise; export declare function getDataAppStorageAggregate(provider: any, collection: any, params?: {}): Promise; /** * @deprecated * @param provider * @param collection * @param id * @param item * @param queryParams * @returns {Promise<*>} */ export declare function putAppStorage(provider: any, collection: any, id: any, item: any, queryParams?: {}): Promise; export declare function putDataAppStorage(provider: any, collection: any, id: any, item: any, queryParams: any): Promise; /** * @deprecated * @param provider * @param collection * @param item * @returns {Promise<*>} */ export declare function postAppStorage(provider: any, collection: any, item: any): Promise; export declare function postDataAppStorage(provider: any, collection: any, item: any): Promise; export declare function getCompetitorAnalysisData(options: any): Promise; export declare function getCompanies(params: any): Promise; export declare function getPicklist(name: any): Promise; export declare function getFavorites(): Promise; export declare function getCompanyGoals(companyId: any): Promise; export declare const getLASFileList: (assetId: any) => Promise; export declare const getLASMetadata: (assetId: any, fileName: any) => Promise; export declare const getLasFileDepthData: (assetId: any, fileName: any, page: any, numberOfRows: any) => Promise; export declare const getLasFileTimeData: (assetId: any, fileName: any, page: any, numberOfRows: any) => Promise; export declare const getAllLASFileData: ({ assetId, fileName, recordsCount, fileKind, }: { assetId: any; fileKind?: string | undefined; fileName: any; recordsCount: any; }) => Promise; export declare const getStreams: ({ assetId, segment }: { assetId: any; segment?: string | undefined; }) => Promise; /** higher order function that returns request function based on provided assetType * @param {string} assetType - any asset type currently supported in * @param {boolean} shouldFetchHeaders - if true, fetch headers object will be returned * ~/constants/assets * */ export declare function mapAssetGetRequest(assetType: string, shouldFetchHeaders?: boolean): (...params: any[]) => any; export declare function mapAssetByIdGetRequest(assetType: any): typeof getWell; export declare const getAppMedia: (appId: any, queryParams: any) => Promise; export declare const deleteAppMedia: (appId: any, mediaId: any) => Promise; export declare const uploadAppMedia: (appId: any, { file, mediaType }: { file: any; mediaType: any; }) => Promise; export declare const updateAppMedia: (appId: any, mediaId: any, mediaFields: any) => Promise; export declare const getAppHelpContent: (appId: any, queryParams: any) => Promise; export declare const deleteAppHelpContent: (appId: any, helpContentId: any) => Promise; export declare const uploadAppHelpContent: (appId: any, { title, description, url }: { description: any; title: any; url: any; }) => Promise; export declare const updateAppHelpContent: (appId: any, helpContentId: any, { title, description, url, position }: { description: any; position: any; title: any; url: any; }) => Promise; export declare function postAnnotation(annotation: any, options?: {}): Promise; export declare function patchAnnotation(annotationId: any, annotation: any): Promise; export declare function deleteAnnotation(annotationId: any): Promise; export declare function getAnnotations(dashboardAppId: any, assetId: any, options?: {}): Promise; export declare function getDashboardLastAnnotations(dashboardId: any, assetId: any, parentAssetId: any): Promise; export declare function closeLastAnnotation(annotationId: any): Promise; export declare function postAnnotationComment(annotationId: any, comment: any): Promise; export declare function getAnnotationComments(annotationId: any, options?: {}): Promise; export declare function getFileDownloadLink(filename: any): string; export declare function patchFeedItemComment(feedItemId: any, commentId: any, comment: any): Promise; export declare function postFeedItemComment(feedItemId: any, comment: any): Promise; export declare function deleteFeedItemComment(feedItemId: any, commentId: any): Promise; export declare function toggleFeedItemLike(feedItemId: any): Promise; export declare function patchFeedItem(feedItemId: any, feedItem: any): Promise; export declare function deleteFeedItem(feedItemId: any): Promise; export declare function getUserAutocomplete(type: any, value: any, companyId: any): Promise; export declare function getS3SignedUrl(filename: any, contentType: any): Promise; export declare function getS3DownloadLink(filename: any, contentDisposition?: string): Promise; export declare const getAppPackages: (appId: any, queryParams: any) => Promise; export declare function getFracFleetWells(options: any): Promise; export declare function getPadWells(padId: any, options: any): Promise; export declare function getTask(taskId: any): Promise; export declare function postTask(options?: {}): Promise; export declare const getAppSettingsTemplates: (appKey: any, params?: {}) => Promise; export declare const getAppSettingsTemplate: (appKey: any, id: any) => Promise; export declare const patchAppSettingsTemplate: (appKey: any, id: any, { name, settings, metadata }: { metadata: any; name: any; settings: any; }) => Promise; export declare const postAppSettingsTemplate: (appKey: any, { name, settings, metadata }: { metadata: any; name: any; settings: any; }) => Promise; export declare const deleteAppSettingsTemplate: (appKey: any, id: any) => Promise; export declare const shareAppSettingsTemplate: (appKey: any, id: any, userIds: any) => Promise; export declare const unshareAppSettingsTemplate: (appKey: any, id: any, userIds: any) => Promise; export declare const publishAppSettingsTemplate: (appKey: any, templateId: any, { name, metadata }: { metadata: any; name: any; }) => Promise; export declare const getUsersWithHeaders: (options: any) => Promise<{ data: any; headers: any; }>; export declare const getUsers: (options: any) => Promise; export declare function setCurrentUserSettings(userId: any, userSettings: any): Promise; export declare function getUserSetting(userId: any, settingKey: any): Promise; export declare function logout(): Promise; export declare function getPermissionCheck(options?: {}): Promise; export declare function getDashboards(params?: {}): Promise; export declare function loginWithAuth0Token(platform: any, token: any): Promise; export declare function getUserAuthSchemas(queryParams: any): Promise; export declare function getUserAuthPlatform(platform: any): Promise; export declare function postUserAuthTokenExchange(platform: any, code: any): Promise; //# sourceMappingURL=index.d.ts.map