/** * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @format * @oncall react_native */ import type { DeltaResult, Graph, MixedOutput, Options, ReadOnlyGraph, } from './DeltaBundler/types'; import type {EventEmitter} from 'events'; export type { DeltaResult, Graph, Dependencies, MixedOutput, Module, ReadOnlyGraph, TransformFn, TransformResult, TransformResultDependency, TransformResultWithSource, } from './DeltaBundler/types'; export default class DeltaBundler { constructor(changeEventSource: EventEmitter); end(): void; getDependencies( entryPoints: ReadonlyArray, options: Options, ): Promise['dependencies']>; buildGraph( entryPoints: ReadonlyArray, options: Options, ): Promise>; getDelta( graph: Graph, { reset, shallow, }: { reset: boolean; shallow: boolean; }, ): Promise>; listen(graph: Graph, callback: () => Promise): () => void; endGraph(graph: Graph): void; }