import { GraphClient, RepoRef } from "@atomist/automation-client"; import { PushImpactListenerInvocation, SdmContext } from "@atomist/sdm"; import { Aspect, FP } from "../machine/Aspect"; import { FindOtherRepos, GetFpByBranch } from "../typings/types"; export declare function findTaggedRepos(graphClient: GraphClient): (type: string, name: string) => Promise; /** * uses GetFpByBranch query * * @param graphClient */ export declare function queryFingerprintsByBranchRef(graphClient: GraphClient): (repo: string, owner: string, branch: string) => Promise; /** * Do something with fingerprints. Normally, send them to Atomist */ export declare type PublishFingerprints = (i: PushImpactListenerInvocation, aspects: Aspect[], fps: FP[], previous: Record) => Promise; export declare const sendFingerprintsToAtomist: PublishFingerprints; export declare type RepoIdentification = Required>; /** * Do something for fingerprints for the latest commit to the given repo */ export declare type PublishFingerprintsFor = (ctx: SdmContext, aspects: Aspect[], repoRef: RepoIdentification, fps: FP[], previous: Record) => Promise; export declare const sendFingerprintsToAtomistFor: PublishFingerprintsFor;