import { ODataVersionV4 } from "@odata2ts/odata-core"; export declare const DEFAULT_HEADERS: { Accept: string; "Content-Type": string; }; export declare const BIG_NUMBERS_HEADERS: { Accept: string; "Content-Type": string; }; export declare const MERGE_HEADERS: { "X-Http-Method": string; }; /** * The OData version declared for V4 services. * * On a request carrying a body the header governs how the service interprets that payload. It is what * makes the notations we generate valid, e.g. `@odata.bind`, which clients must not use when declaring * 4.01 (see OData JSON Format v4.01, chap. 8.5). * * It governs the *response* just as much, which is why a configured version is declared on reads as well: * a service answering a 4.0 request uses the prefixed control information (`@odata.count`), and a client * generated for 4.01 is typed for the short form (`@count`). Announcing the version only on writes left * that promise unkept on every GET. * * Defaults to 4.0, the more widely deployed and the more compatible version. The generator sets 4.01 * on the main service, if configured accordingly. */ export declare function getODataVersionHeaders(odataVersion?: ODataVersionV4): { "OData-Version": ODataVersionV4; };