import { GraphClient } from "@atomist/automation-client"; import { FP } from "../machine/Aspect"; import { DeleteFpTarget, GetFpTargets, SetFpTarget } from "../typings/types"; export declare function toName(type: string, name: string): string; export declare function fromName(targetName: string): { type: string; name: string; }; /** * create a function that can query for a fingerprint target by name (team specific) * * @param graphClient */ export declare function getFPTargets(graphClient: GraphClient): Promise; /** * the target fingerprint is stored as a json encoded string in the value of the TeamConfiguration * * @param graphClient * @param name */ export declare function queryPreferences(graphClient: GraphClient, type: string, name: string): Promise; export declare function setFPTarget(graphClient: GraphClient): (type: string, name: string, value: any) => Promise; export declare function deleteFPTarget(graphClient: GraphClient): (type: string, name: string) => Promise;