import { ValueConverter } from "@odata2ts/converter-api"; import { ODataHttpClient } from "@odata2ts/http-client-api"; import { ODataValueResponseV2 } from "@odata2ts/odata-core"; import { QParamModel, ResponseValueConverterV2 } from "@odata2ts/odata-query-objects"; import { ODataServiceOptions } from "../ODataServiceOptions"; import { UrlRequestCmd } from "../request"; import { ServiceStateHelper } from "../ServiceStateHelper.js"; interface RequestResponseConverter extends ResponseValueConverterV2, Pick, "convertTo"> { } export declare class PrimitiveTypeServiceV2 { protected readonly __base: ServiceStateHelper; protected readonly __converter: RequestResponseConverter; constructor(client: ClientType, basePath: string, name: string, { convertTo, convertFrom }?: ValueConverter, mappedName?: string, options?: ODataServiceOptions); getPath(): string; /** * Get the primitive value. * Spec: {@link https://www.odata.org/documentation/odata-version-2-0/operations/} - 2.2 Retrieving individual properties * * Always returns the response structure, the value might be `null`. */ getValue(): UrlRequestCmd, undefined>; /** * Update the value. * Spec: {@link https://www.odata.org/documentation/odata-version-2-0/operations/} - 2.6 Updating Entries * * The response is 204 with no data. * * @param value */ updateValue(value: T): UrlRequestCmd; /** * Delete the value. * * Returns 204 with no data. */ deleteValue(): UrlRequestCmd; } export {};