import { ProjectOperationCredentials } from "@atomist/automation-client/lib/operations/common/ProjectOperationCredentials";
/**
 * Convert the given credentials or token string to a token string
 * if possible. Otherwise throw an exception.
 * @param {ProjectOperationCredentials | string} credentials
 * @return {string}
 * @ModuleExport
 */
export declare function toToken(credentials: ProjectOperationCredentials | string): string;
//# sourceMappingURL=toToken.d.ts.map