import type { MsGraphConfigResolved } from './config.ts'; import { type ByteWindow } from '../../utils/ranges.ts'; export declare class GraphError extends Error { readonly status: number; readonly code: string; constructor(status: number, code: string, message: string); } export declare function graphGet(config: MsGraphConfigResolved, url: string, params?: Record): Promise>; export declare function graphList(config: MsGraphConfigResolved, url: string, params?: Record): Promise[]>; export declare function graphGetBytes(config: MsGraphConfigResolved, url: string, window?: ByteWindow, auth?: boolean): Promise; export declare function graphStream(config: MsGraphConfigResolved, url: string, auth?: boolean): AsyncIterable; export declare function graphPost(config: MsGraphConfigResolved, url: string, body?: Record): Promise>; export declare function graphPostMonitor(config: MsGraphConfigResolved, url: string, body?: Record): Promise; export declare function graphPatch(config: MsGraphConfigResolved, url: string, body: Record): Promise>; export declare function graphDelete(config: MsGraphConfigResolved, url: string): Promise; export declare function graphPutBytes(config: MsGraphConfigResolved, url: string, data: Uint8Array): Promise>; export declare function pollMonitor(url: string, timeout: number, interval?: number): Promise>; export declare function uploadChunk(config: MsGraphConfigResolved, uploadUrl: string, data: Uint8Array, start: number, total: number): Promise>; //# sourceMappingURL=client.d.ts.map