import { PersistedResource } from './types.js';
export declare abstract class CosmosResponse {
    protected readonly response: Response;
    constructor(response: Response);
    get status(): number;
    get headers(): Headers;
    get body(): ReadableStream<Uint8Array> | null;
    get activityId(): string | null;
    get etag(): string;
    get requestCharge(): number;
    get raw(): Response;
}
export declare class ItemResponse<T extends PersistedResource> extends CosmosResponse {
    constructor(response: Response);
    json(): Promise<T>;
}
export declare class FeedResponse<T> extends CosmosResponse {
    readonly next: () => Promise<FeedResponse<T>>;
    private readonly itemsProperty;
    constructor(response: Response, next: () => Promise<FeedResponse<T>>, itemsProperty: string);
    get count(): number;
    get hasNext(): boolean;
    json(): Promise<T[]>;
}
