import type * as _Core from "@osdk/foundry.core"; import type { SharedClient as $OldClient, SharedClientContext as $OldClientContext } from "@osdk/shared.client"; import type { SharedClient as $Client, SharedClientContext as $ClientContext } from "@osdk/shared.client2"; import type * as _Ontologies from "../_components.js"; /** * Lists the linked objects for a specific object and the given link type. * * Note that this endpoint does not guarantee consistency. Changes to the data could result in missing or * repeated objects in the response pages. * * For Object Storage V1 backed objects, this endpoint returns a maximum of 10,000 objects. After 10,000 objects have been returned and if more objects * are available, attempting to load another page will result in an `ObjectsExceededLimit` error being returned. There is no limit on Object Storage V2 backed objects. * * Each page may be smaller or larger than the requested page size. However, it * is guaranteed that if there are more results available, at least one result will be present * in the response. * * Note that null value properties will not be returned. * * @public * * Required Scopes: [api:ontologies-read] * URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/links/{linkType} */ export declare function listLinkedObjects($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [ ontology: _Ontologies.OntologyIdentifier, objectType: _Ontologies.ObjectTypeApiName, primaryKey: _Ontologies.PropertyValueEscapedString, linkType: _Ontologies.LinkTypeApiName, $queryParams: { pageSize?: _Core.PageSize | undefined; pageToken?: _Core.PageToken | undefined; select: Array<_Ontologies.SelectedPropertyApiName>; orderBy?: _Ontologies.OrderBy | undefined; sdkPackageRid?: _Ontologies.SdkPackageRid | undefined; sdkVersion?: _Ontologies.SdkVersion | undefined; excludeRid?: boolean | undefined; snapshot?: boolean | undefined; branch?: _Core.FoundryBranch | undefined; } ]): Promise<_Ontologies.ListLinkedObjectsResponseV2>; /** * Get a specific linked object that originates from another object. * * If there is no link between the two objects, `LinkedObjectNotFound` is thrown. * * @public * * Required Scopes: [api:ontologies-read] * URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/links/{linkType}/{linkedObjectPrimaryKey} */ export declare function getLinkedObject($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [ ontology: _Ontologies.OntologyIdentifier, objectType: _Ontologies.ObjectTypeApiName, primaryKey: _Ontologies.PropertyValueEscapedString, linkType: _Ontologies.LinkTypeApiName, linkedObjectPrimaryKey: _Ontologies.PropertyValueEscapedString, $queryParams: { select: Array<_Ontologies.SelectedPropertyApiName>; sdkPackageRid?: _Ontologies.SdkPackageRid | undefined; sdkVersion?: _Ontologies.SdkVersion | undefined; excludeRid?: boolean | undefined; branch?: _Core.FoundryBranch | undefined; } ]): Promise<_Ontologies.OntologyObjectV2>; //# sourceMappingURL=LinkedObjectV2.d.ts.map