import type { ApolloServerPlugin } from '@apollo/server';
import type { HiveClient, HivePluginOptions, SupergraphSDLFetcherOptions } from './internal/types.cjs';
export declare function createSupergraphSDLFetcher(options: SupergraphSDLFetcherOptions): () => Promise<{
    id: string;
    supergraphSdl: string;
}>;
export declare function createSupergraphManager(options: {
    pollIntervalInMs?: number;
} & SupergraphSDLFetcherOptions): {
    initialize(hooks: {
        update(supergraphSdl: string): void;
    }): Promise<{
        supergraphSdl: string;
        cleanup?: () => Promise<void>;
    }>;
};
export declare function hiveApollo(clientOrOptions: HiveClient | HivePluginOptions): ApolloServerPlugin;
//# sourceMappingURL=apollo.d.ts.map