import { HandlerContext } from "@atomist/automation-client/lib/HandlerContext";
import { ProjectOperationCredentials } from "@atomist/automation-client/lib/operations/common/ProjectOperationCredentials";
import { RemoteRepoRef } from "@atomist/automation-client/lib/operations/common/RepoId";
import { CredentialsResolver } from "../../../spi/credentials/CredentialsResolver";
/**
 * Resolves to single credentials from the configuration
 */
export declare class ConfigurationBasedBasicCredentialsResolver implements CredentialsResolver {
    private readonly paths;
    constructor(paths?: {
        username: string;
        password: string;
    });
    eventHandlerCredentials(context: HandlerContext): ProjectOperationCredentials;
    commandHandlerCredentials(context: HandlerContext, id: RemoteRepoRef): ProjectOperationCredentials;
    private credentialsFromConfiguration;
}
//# sourceMappingURL=ConfigurationBasedBasicCredentialsResolver.d.ts.map