fhir-kit-client
Version:
20 lines • 649 B
TypeScript
import type { HttpClient } from './http-client.js';
import type { FhirResource, RequestOptions } from './types.js';
interface BundleLink {
relation: string;
url: string;
}
interface Bundle extends FhirResource {
link: BundleLink[];
}
/**
* Pagination helper — used internally by Client.
*/
export declare class Pagination {
private readonly httpClient;
constructor(httpClient: HttpClient);
nextPage(bundle: Bundle, options?: RequestOptions): Promise<FhirResource> | undefined;
prevPage(bundle: Bundle, options?: RequestOptions): Promise<FhirResource> | undefined;
}
export {};
//# sourceMappingURL=pagination.d.ts.map