import React, { ReactElement } from "react";
import type { State, ServiceStatusUserSettings, Incident, ServiceStatusApi } from "./types";
type Props = {
    children: React.ReactNode;
    autoUpdateDelay: number;
    networkApi?: ServiceStatusApi;
    context?: ServiceStatusUserSettings;
};
type API = {
    updateData: () => Promise<void>;
};
export type StatusContextType = State & API;
export declare function useServiceStatus(): StatusContextType;
export declare function filterServiceStatusIncidents(incidents: Incident[], tickers?: string[]): Incident[];
export declare function useFilteredServiceStatus(filters?: ServiceStatusUserSettings): StatusContextType;
export declare const ServiceStatusProvider: ({ children, autoUpdateDelay, networkApi, context, }: Props) => ReactElement;
export {};
//# sourceMappingURL=index.d.ts.map