export type CollectPhaseArtifactOptions = { driver: import("./driver.js").Driver; page: LH.Puppeteer.Page; artifactDefinitions: Array; artifactState: ArtifactState; baseArtifacts: LH.BaseArtifacts; phase: LH.Gatherer.GatherPhase; gatherMode: LH.Gatherer.GatherMode; computedCache: Map; settings: LH.Config.Settings; }; export type IntermediateArtifacts = Record>; export type ArtifactState = Record; export type Dependencies = LH.Gatherer.Context["dependencies"]; /** @return {ArtifactState} */ export function getEmptyArtifactState(): ArtifactState; /** * Awaits the result of artifact, catching errors to set the artifact to an error instead. * * @param {ArtifactState} artifactState * @return {Promise>} */ export function awaitArtifacts(artifactState: ArtifactState): Promise>; /** * Runs the gatherer methods for a particular navigation phase (startInstrumentation/getArtifact/etc). * All gatherer method return values are stored on the artifact state object, organized by phase. * This method collects required dependencies, runs the applicable gatherer methods, and saves the * result on the artifact state object that was passed as part of `options`. * * @param {CollectPhaseArtifactOptions} options */ export function collectPhaseArtifacts(options: CollectPhaseArtifactOptions): Promise; /** * @param {LH.Config.AnyArtifactDefn} artifact * @param {Record} artifactsById * @return {Promise} */ export function collectArtifactDependencies(artifact: LH.Config.AnyArtifactDefn, artifactsById: Record): Promise; //# sourceMappingURL=runner-helpers.d.ts.map