/**
 * Saves some credentials securely.
 *
 * @param username The username
 * @param password The password
 * @param server The server these creds are for.
 */
export declare function save(username: string, password: string, server?: string): Promise<any>;
/**
 * Loads credentials that were already saved.
 *
 * @param server The server that these creds are for
 */
export declare function load(server?: string): Promise<{
    username: any;
    password: any;
    server: string;
} | {
    username: any;
    password: any;
    server: null;
}>;
/**
 * Resets any existing credentials for the given server.
 *
 * @param server The server which has these creds
 */
export declare function reset(server?: string): Promise<any>;
//# sourceMappingURL=keychain.d.ts.map