import { Constructable, EntityIdentifiable, FieldType, Expandable, GetByKeyRequestBuilder as GetByKeyRequestBuilderBase } from '../../odata-common'; import { Entity } from '../entity'; /** * Create an OData request to get a single entity based on its key properties. * The properties available in the response can be restricted by creating a [[GetByKeyRequestBuilderV4.select selection]], where no selection is equal to selecting all fields of the entity. * Navigational properties need to expanded explicitly by [[GetAllRequestBuilderV4.expand]]. * where no selection is equal to selecting all fields. * @typeparam EntityT - Type of the entity to be requested */ export declare class GetByKeyRequestBuilder extends GetByKeyRequestBuilderBase implements EntityIdentifiable { readonly _entityConstructor: Constructable; readonly _entity: EntityT; /** * Creates an instance of GetByKeyRequestBuilder. * @param _entityConstructor - Constructor of the entity to create the request for * @param keys - Key-value pairs where the key is the name of a key property of the given entity and the value is the respective value */ constructor(_entityConstructor: Constructable, keys: Record); expand(expands: Expandable[]): this; expand(...expands: Expandable[]): this; } export { GetByKeyRequestBuilder as GetByKeyRequestBuilderV4 }; //# sourceMappingURL=get-by-key-request-builder.d.ts.map