import { SceneObjectResponse, SceneObjectListResponse, GetObjectsOptions, SceneObjectPagedResponse, GetObjectParams, GetAllObjectsParams, PostObjectsParams, PatchObjectsParams, DeleteObjectParams, DeleteObjectsParams, GetObjectsParams, PatchObjectParam, PatchObjectsOperationsParams } from "../models/index.js"; import { AuthArgs } from "./apiFetch.js"; /** * Fetches a single scene object by its object ID. * @param params - {@link GetObjectParams} * @returns SceneObjectResponse containing the single object details. * @throws {ScenesApiError} If the API call fails or the response format is invalid. */ export declare function getObject({ sceneId, iTwinId, objectId, getAccessToken, baseUrl, }: GetObjectParams & AuthArgs): Promise; /** * Fetches objects in single paged specified by the options. * @param params - {@link GetObjectsParams} * @returns SceneObjectListResponse containing the objects in the scene. * @throws {ScenesApiError} If the API call fails or the response format is invalid */ export declare function getObjects({ sceneId, iTwinId, top, skip, orderBy, getAccessToken, baseUrl, }: GetObjectsParams & AuthArgs): Promise; /** * Fetches scene objects with pagination. * @param args - {@link GetAllObjectsParams} * @param opts - {@link GetObjectsOptions} * @returns Async iterator of paged scene object lists. * @throws {ScenesApiError} If the API call fails or the response format is invalid. */ export declare function getAllObjects(args: GetAllObjectsParams & AuthArgs, opts: Required): AsyncIterableIterator; /** * Creates one or multiple scene objects. * @param params - {@link PostObjectsParams} * @returns Created scene objects details in list. * @throws {ScenesApiError} If the API call fails or the response format is invalid. */ export declare function postObjects({ sceneId, iTwinId, objects, getAccessToken, baseUrl, }: PostObjectsParams & AuthArgs): Promise; /** * Updates a single scene object by its ID. * @param params - {@link PatchObjectParam} * @returns Updated scene object details. * @throws {ScenesApiError} If the API call fails or the response format is invalid. */ export declare function patchObject({ sceneId, iTwinId, objectId, object, getAccessToken, baseUrl, }: PatchObjectParam & AuthArgs): Promise; /** * Updates one or multiple scene objects. * @deprecated Use {@link patchObjectsOperations} instead. * @param params - {@link PatchObjectsParams} * @returns Updated scene objects details. * @throws {ScenesApiError} If the API call fails or the response format is invalid. */ export declare function patchObjects({ sceneId, iTwinId, objects, getAccessToken, baseUrl, }: PatchObjectsParams & AuthArgs): Promise; /** * Updates multiple objects within a scene using an ordered list of atomic operations. * All operations are executed in the order provided. If any operation fails, all changes are rolled back. * Max 100 operations per request. * * @param params - {@link PatchObjectsOperationsParams} * @returns Updated scene objects details. * @throws {ScenesApiError} If the API call fails or the response format is invalid. */ export declare function patchObjectsOperations({ sceneId, iTwinId, operations, getAccessToken, baseUrl, }: PatchObjectsOperationsParams & AuthArgs): Promise; /** * Deletes a single scene object by its ID. * @param params - {@link DeleteObjectParams} * @throws {ScenesApiError} If the API call fails. */ export declare function deleteObject({ sceneId, iTwinId, objectId, getAccessToken, baseUrl, }: DeleteObjectParams & AuthArgs): Promise; /** * Deletes multiple scene objects by their IDs. * @param params - {@link DeleteObjectsParams} * @throws {ScenesApiError} If the API call fails. */ export declare function deleteObjects({ sceneId, iTwinId, objectIds, getAccessToken, baseUrl, }: DeleteObjectsParams & AuthArgs): Promise;