import { GraphClient } from "@atomist/automation-client";
import { FP } from "../machine/Aspect";
import { 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<GetFpTargets.Query>;
/**
 * 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<FP>;
export declare function setFPTarget(graphClient: GraphClient): (type: string, name: string, value: any) => Promise<SetFpTarget.Mutation>;
export declare function deleteFPTarget(graphClient: GraphClient): (type: string, name: string) => Promise<SetFpTarget.Mutation>;
