import { BaseResourceAPI, FilterQuery } from '@cognite/sdk-core'; import { UserIdentifier, UserProfileItem, UserProfilesListResponse, UserProfilesSearchRequest } from '../../types'; export declare class ProfilesAPI extends BaseResourceAPI { /** * [Get the user profile of the principal issuing the request](https://developer.cognite.com/api#tag/User-profiles/operation/getRequesterUserProfile) * * ```js * const response = await client.profiles.me(); * ``` */ me: () => Promise; /** * [List all user profiles](https://developer.cognite.com/api#tag/User-profiles/operation/listUserProfiles) * * ```js * const response = await client.profiles.list({ limit: 1000, cursor: 'abc' }); * ``` */ list: (scope?: FilterQuery) => UserProfilesListResponse; /** * [Retrieve one or more user profiles by ID](https://developer.cognite.com/api#tag/User-profiles/operation/getUserProfilesByIds) * * ```js * const response = await client.profiles.retrieve([{ userIdentifier: 'abcd' }]); * ``` */ retrieve: (userIdentifiers: UserIdentifier[]) => Promise; /** * [Search user profiles](https://developer.cognite.com/api#tag/User-profiles/operation/userProfilesSearch) * * ```js * const response = await client.profiles.search({ search: { name: 'John' } }); * ``` */ search: (query: UserProfilesSearchRequest) => Promise; }