/// <reference types="react" />
import * as react from 'react';
import * as _backstage_core_plugin_api from '@backstage/core-plugin-api';
import { OAuthApi, FetchApi } from '@backstage/core-plugin-api';
import { Calendar, Event } from '@microsoft/microsoft-graph-types';

/** @public */
declare const MicrosoftCalendarCard: () => react.JSX.Element;

/** @public */
declare const microsoftCalendarApiRef: _backstage_core_plugin_api.ApiRef<MicrosoftCalendarApiClient>;
/** @public */
declare class MicrosoftCalendarApiClient {
    private readonly authApi;
    private readonly fetchApi;
    constructor(options: {
        authApi: OAuthApi;
        fetchApi: FetchApi;
    });
    private get;
    getCalendars(): Promise<Calendar[]>;
    getEvents(calendarId: string, params: {
        startDateTime: string;
        endDateTime: string;
    }, headers: {
        [key in string]: any;
    }): Promise<Event[]>;
}

export { MicrosoftCalendarApiClient, MicrosoftCalendarCard, microsoftCalendarApiRef };
