import { ODataHttpClient } from "@odata2ts/http-client-api"; import { ODataVersionV4 } from "@odata2ts/odata-core"; import { ODataServiceOptionsInternal } from "./ODataServiceOptions"; export declare class ServiceStateHelper { readonly client: ODataHttpClient; basePath: string; name?: string | undefined; options: ODataServiceOptionsInternal; readonly path: string; constructor(client: ODataHttpClient, basePath: string, name?: string | undefined, options?: ODataServiceOptionsInternal); addFullPath: (path?: string) => string; getDefaultHeaders: () => { Accept: string; "Content-Type": string; }; /** * The version declared on requests which carry a body, where it governs how the service reads the payload * - see {@link getODataVersionHeaders}. Unlike {@link getDefaultHeaders} this falls back to 4.0, so a V4 * request with a body always states a version. */ getVersionHeaders: () => { "OData-Version": ODataVersionV4; }; isUrlNotEncoded: () => boolean; /** * Whether modifying this resource requires an ETag - the generator writes the flag into the options of * a service whose entity set states `Core.OptimisticConcurrency`. */ isConcurrencyControlled: () => boolean; }